Skip to content

Commit

Permalink
Add secure connection to DB
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien CAFFET committed Jul 15, 2024
1 parent 4ca8224 commit 4eedaec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ RUN go build -o build/faucet
#final stage
FROM alpine:latest
RUN addgroup -S nuklai && adduser -S nuklai -G nuklai
COPY --from=builder --chown=nuklai /go/src/app/build /
COPY --from=builder --chown=nuklai /go/src/app/build /app
USER nuklai
RUN chmod a+x startup.sh
ENTRYPOINT [ "sh", "startup.sh" ]
ENTRYPOINT [ "sh", /app/startup.sh" ]
RUN ls -la
LABEL Name=faucetrpc
EXPOSE 10591
CMD .["./faucet"]
CMD .["/app/faucet"]

0 comments on commit 4eedaec

Please sign in to comment.