Uniformise dockerfile

This commit is contained in:
Bastien Wirtz 2020-07-15 14:23:29 -07:00
parent 0ae40f78f8
commit d05b8d3bf0
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ENV UID 911
ENV PORT 8080 ENV PORT 8080
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U darkhttpd su-exec && \ apk add -U --no-cache darkhttpd su-exec && \
rm /usr/bin/qemu-arm-static rm /usr/bin/qemu-arm-static
COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/

View File

@ -28,7 +28,7 @@ ENV UID 911
ENV PORT 8080 ENV PORT 8080
RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
apk add -U darkhttpd su-exec && \ apk add -U --no-cache darkhttpd su-exec && \
rm /usr/bin/qemu-aarch64-static rm /usr/bin/qemu-aarch64-static
COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/