Skip to content

Commit

Permalink
Remove unused data folder from docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed May 31, 2023
1 parent 8e02e7a commit 8770223
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ RUN go install ./cmd/${cmd}
FROM alpine:3
ARG cmd
COPY --from=build_go /go/bin/${cmd} /app/${cmd}
WORKDIR /data
RUN chown 1000: /data
USER 1000
ENV COMMAND="/app/${cmd}"
ENTRYPOINT "${COMMAND}"
Expand Down

0 comments on commit 8770223

Please sign in to comment.