Skip to content

Commit ea546cf

Browse files
committed
Support of running container with user different than the one which is specified in the image.
1 parent 5dbc044 commit ea546cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ RUN set -ex \
1414
# Delete unnecessary files
1515
&& rm package* generate-cert.sh \
1616
# Correct User's file access
17-
&& chown -R node:node /app
17+
&& chown -R node:node /app \
18+
&& chmod +r /app/privkey.pem
1819

1920
FROM node:14-alpine AS final
2021
WORKDIR /app

0 commit comments

Comments
 (0)