Skip to content

Commit

Permalink
fix: do not create dir on build
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Jul 4, 2024
1 parent 5937d53 commit 1dbdfda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ COPY --chown=node:node ["src", "./src"]
RUN npm pkg delete scripts.prepare \
&& npm ci --omit=dev
COPY --from=google/shaka-packager:v3.2.0 /usr/bin/packager /usr/bin/packager
ENV STAGING_DIR=/data
VOLUME [ "/data" ]
RUN mkdir /data/tmp
ENV TMPDIR=/data/tmp
ENV STAGING_DIR=/data
ENV TMPDIR=/data
CMD [ "npm", "run", "start", "--", "-r" ]

0 comments on commit 1dbdfda

Please sign in to comment.