Skip to content

Commit

Permalink
workaround docker image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Qusic committed Jan 25, 2023
1 parent 10e0f79 commit 1b7c1f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -2,7 +2,8 @@ FROM node:alpine
RUN apk add --no-cache ffmpeg
WORKDIR /app
COPY package.json .
RUN npm install --omit=dev
RUN npm install --omit=dev \
&& chown -R $(id -u):$(id -g) node_modules # workaround for https://github.com/npm/cli/issues/5900
COPY lib lib
WORKDIR /data
CMD ["node", "/app"]

0 comments on commit 1b7c1f8

Please sign in to comment.