mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
fix: permission changes of docker container brakes existing installations
This commit is contained in:
parent
c9f1be2faf
commit
6a4108ed61
1 changed files with 0 additions and 7 deletions
|
@ -34,13 +34,6 @@ RUN apk update --no-cache
|
||||||
RUN apk upgrade --no-cache
|
RUN apk upgrade --no-cache
|
||||||
RUN apk add --no-cache curl
|
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
|
WORKDIR /opt/app/frontend
|
||||||
COPY --from=frontend-builder /opt/app/public ./public
|
COPY --from=frontend-builder /opt/app/public ./public
|
||||||
COPY --from=frontend-builder /opt/app/.next/standalone ./
|
COPY --from=frontend-builder /opt/app/.next/standalone ./
|
||||||
|
|
Loading…
Add table
Reference in a new issue