Skip to content

Commit

Permalink
Docker user
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored May 22, 2024
1 parent dabff53 commit 1df9102
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ FROM node:${NODE_VERSION}-alpine as base

WORKDIR /app

RUN groupadd -g 1000 appuser && \
useradd -m -u 1000 -g appuser -s /bin/bash appuser

USER appuser

COPY .env.docker .env
COPY package.json package-lock.json ./

Expand Down

0 comments on commit 1df9102

Please sign in to comment.