Build insert-user command too

main
3wc 2 years ago
parent b63e9b43c4
commit 2f79da3c1d
  1. 4
      Dockerfile
  2. 2
      entrypoint.sh

@ -19,11 +19,15 @@ WORKDIR /app
## executable of our Go program
RUN cd cmd/server \
&& go mod download go.cryptoscope.co/secretstream \
&& go build . \
&& cd ../insert-user \
&& go build .
RUN apk del build-dependencies \
&& rm -rf /var/cache/apk/* /tmp/*
VOLUME /app/data
COPY entrypoint.sh /docker-entrypoint.sh
## Our start command which kicks off

@ -1,3 +1,3 @@
#!/bin/sh
/app/cmd/server/server -https-domain "$DOMAIN"
/app/cmd/server/server -https-domain "$DOMAIN" -repo /app/data

Loading…
Cancel
Save