Skip to content

Commit

Permalink
Removed user from Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
moonstar-x committed Dec 4, 2024
1 parent e44b542 commit 19a2359
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ RUN npm run build

FROM base AS runner

RUN adduser -D starpep-web-cms
USER starpep-web-cms

WORKDIR /opt/app

COPY --from=build --chown=starpep-web-cms /tmp/app .
COPY --from=build /tmp/app .

ENV HOST=0.0.0.0
ENV PORT=1337
Expand Down

0 comments on commit 19a2359

Please sign in to comment.