Skip to content

Commit e464e50

Browse files
committed
fix: restore non-root user in dockerfile
1 parent 7e4c1f7 commit e464e50

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ RUN npm install
4444
RUN npm run build-css-prod
4545

4646
# Create non-root user
47-
# RUN adduser --disabled-password --gecos '' appuser \
48-
# && chown -R appuser:appuser /app
49-
# USER appuser
47+
RUN adduser --disabled-password --gecos '' appuser \
48+
&& chown -R appuser:appuser /app
49+
USER appuser
5050

5151
# Place executables in the environment at the front of the path
5252
ENV PATH="/app/.venv/bin:$PATH"

0 commit comments

Comments
 (0)