mirror of
https://github.com/netfun2000/hipudding-teslamate.git
synced 2026-02-27 09:44:28 +08:00
fix: permissions denied error when specifying user (#3772)
fixes: #3769
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user