fix(docker): change file ownership

This commit is contained in:
Isaac 2023-06-16 22:52:04 +01:00
parent 621aacc5a3
commit 516c45f9ab
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -22,7 +22,7 @@ ENV USER=container \
HTTP_HOST=0.0.0.0 \ HTTP_HOST=0.0.0.0 \
HTTP_PORT=80 HTTP_PORT=80
WORKDIR /home/container WORKDIR /home/container
COPY --from=builder /build ./ COPY --from=builder --chown=container:container /build ./
EXPOSE ${HTTP_PORT}/tcp EXPOSE ${HTTP_PORT}/tcp
ENTRYPOINT [ "/home/container/scripts/start.sh" ] ENTRYPOINT [ "/home/container/scripts/start.sh" ]
HEALTHCHECK --interval=15s --timeout=5s --start-period=60s \ HEALTHCHECK --interval=15s --timeout=5s --start-period=60s \