fix: permissions denied error when specifying user (#3772)

fixes: #3769
This commit is contained in:
Tobias Lindberg
2024-03-25 09:42:38 +01:00
committed by GitHub
parent 9971785048
commit 0d1941bd41

View File

@@ -70,8 +70,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
chown -R nonroot:nonroot .
USER nonroot:nonroot
COPY --chown=nonroot:nonroot --chmod=544 entrypoint.sh /
COPY --from=builder --chown=nonroot:nonroot --chmod=544 /opt/built .
COPY --chown=nonroot:nonroot --chmod=555 entrypoint.sh /
COPY --from=builder --chown=nonroot:nonroot --chmod=555 /opt/built .
RUN mkdir $SRTM_CACHE
EXPOSE 4000