Skip to content

Commit

Permalink
fix: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav authored Jul 2, 2024
1 parent 0d1da6f commit cc7789f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM ubuntu:latest
FROM ubuntu:latest as user_stage
RUN useradd -u 10001 gorge

FROM scratch
ENV HOME /home/gorge
USER 10001
COPY gorge /
COPY --from=0 /etc/passwd /etc/passwd
COPY --from=user_stage /etc/passwd /etc/passwd
ENTRYPOINT ["/gorge"]
CMD ["serve"]

0 comments on commit cc7789f

Please sign in to comment.