Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Run chown -R root:root /srv in Dockerfile. #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ WORKDIR "/srv"
COPY package.json package-lock.json tsconfig.json ./
COPY src ./src

RUN npm install
RUN npm run build
RUN npm install \
&& npm run build \
&& chown -R root:root /srv

ENV NODE_ENV="production"

Expand Down