Build insert-user command too
This commit is contained in:
parent
b63e9b43c4
commit
2f79da3c1d
@ -19,11 +19,15 @@ WORKDIR /app
|
|||||||
## executable of our Go program
|
## executable of our Go program
|
||||||
RUN cd cmd/server \
|
RUN cd cmd/server \
|
||||||
&& go mod download go.cryptoscope.co/secretstream \
|
&& go mod download go.cryptoscope.co/secretstream \
|
||||||
|
&& go build . \
|
||||||
|
&& cd ../insert-user \
|
||||||
&& go build .
|
&& go build .
|
||||||
|
|
||||||
RUN apk del build-dependencies \
|
RUN apk del build-dependencies \
|
||||||
&& rm -rf /var/cache/apk/* /tmp/*
|
&& rm -rf /var/cache/apk/* /tmp/*
|
||||||
|
|
||||||
|
VOLUME /app/data
|
||||||
|
|
||||||
COPY entrypoint.sh /docker-entrypoint.sh
|
COPY entrypoint.sh /docker-entrypoint.sh
|
||||||
|
|
||||||
## Our start command which kicks off
|
## Our start command which kicks off
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
/app/cmd/server/server -https-domain "$DOMAIN"
|
/app/cmd/server/server -https-domain "$DOMAIN" -repo /app/data
|
||||||
|
Loading…
Reference in New Issue
Block a user