Browse Source

Build insert-user command too

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

4
Dockerfile

@ -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

2
entrypoint.sh

@ -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