Skip to content

Commit 19a2359

Browse files
committed
Removed user from Dockerfile.
1 parent e44b542 commit 19a2359

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ RUN npm run build
1818

1919
FROM base AS runner
2020

21-
RUN adduser -D starpep-web-cms
22-
USER starpep-web-cms
23-
2421
WORKDIR /opt/app
2522

26-
COPY --from=build --chown=starpep-web-cms /tmp/app .
23+
COPY --from=build /tmp/app .
2724

2825
ENV HOST=0.0.0.0
2926
ENV PORT=1337

0 commit comments

Comments
 (0)