This commit is contained in:
parent
851af08218
commit
777e71db5c
1 changed files with 1 additions and 1 deletions
|
@ -21,10 +21,10 @@ RUN useradd -u 10001 mw
|
||||||
|
|
||||||
FROM scratch as runner
|
FROM scratch as runner
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
COPY --from=user /etc/passwd /etc/passwd
|
||||||
COPY --from=builder /app/bin/mw /bin/mw
|
COPY --from=builder /app/bin/mw /bin/mw
|
||||||
COPY --from=builder /app/bin/micrate /bin/micrate
|
COPY --from=builder /app/bin/micrate /bin/micrate
|
||||||
COPY ./db ./db
|
COPY ./db ./db
|
||||||
COPY --from=user /etc/passwd /etc/passwd
|
|
||||||
USER mw
|
USER mw
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT [ "mw" ]
|
ENTRYPOINT [ "mw" ]
|
||||||
|
|
Loading…
Reference in a new issue