1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-07-02 15:30:40 +02:00

fix: permission changes of docker container brakes existing installations

This commit is contained in:
Elias Schneider 2023-09-22 11:30:53 +02:00
parent c9f1be2faf
commit 6a4108ed61
No known key found for this signature in database
GPG Key ID: 07E623B294202B6C

View File

@ -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 ./