Skip to content

Commit

Permalink
fix: permission changes of docker container brakes existing installat…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
stonith404 committed Sep 22, 2023
1 parent c9f1be2 commit 6a4108e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down

0 comments on commit 6a4108e

Please sign in to comment.