Skip to content

Commit

Permalink
Add project content
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirrezaNasiri authored Sep 20, 2023
1 parent d932d65 commit dbf099a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ FROM alpine:3.18
RUN apk --no-cache add ca-certificates \
&& adduser -S -u 1000 -s /bin/bash -h /home/version-forge version-forge

COPY --from=builder /go/bin/app /usr/local/bin/version-forge

WORKDIR /home/version-forge/

COPY . /home/version-forge/
COPY --from=builder /go/bin/app /home/version-forge/version-forge

USER version-forge
EXPOSE 8080
ENTRYPOINT ["version-forge"]
ENTRYPOINT ["/home/version-forge/version-forge"]

0 comments on commit dbf099a

Please sign in to comment.