mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-04 23:10:13 +01:00
fix: permission changes of docker container brakes existing installations
This commit is contained in:
parent
c9f1be2faf
commit
6a4108ed61
@ -34,13 +34,6 @@ RUN apk update --no-cache
|
||||
RUN apk upgrade --no-cache
|
||||
RUN apk add --no-cache curl
|
||||
|
||||
# Set user and group IDs for the node user
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
RUN deluser node
|
||||
RUN adduser -u $UID -g $GID node -D
|
||||
USER node
|
||||
|
||||
WORKDIR /opt/app/frontend
|
||||
COPY --from=frontend-builder /opt/app/public ./public
|
||||
COPY --from=frontend-builder /opt/app/.next/standalone ./
|
||||
|
Loading…
Reference in New Issue
Block a user