Skip to content

Commit

Permalink
Merge pull request #60 from linjie7674/bugfix/deploy_env
Browse files Browse the repository at this point in the history
Use the env in docker mounted file
  • Loading branch information
IRONICBo committed Jan 28, 2024
2 parents 06e4284 + a8618f1 commit df353d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN apk --no-cache add libc6-compat

WORKDIR /community/cmd/gopcomm

RUN ln -s /config/.env .env

COPY --from=builder /community /community

CMD ["./community"]

0 comments on commit df353d1

Please sign in to comment.