Skip to content

Commit

Permalink
fix for building
Browse files Browse the repository at this point in the history
  • Loading branch information
kkalev committed Nov 5, 2024
1 parent b89a8db commit 8e0fb45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \
&& groupadd -r pptruser && useradd -rm -g pptruser -G audio,video pptruser

USER pptruser

RUN mkdir -p ${PUPPETEER_ROOT}/scenarios

COPY --from=puppeteer ${PUPPETEER_ROOT}/ ${PUPPETEER_ROOT}/
COPY --from=puppeteer --chown=pptruser:pptruser ${PUPPETEER_ROOT}/ ${PUPPETEER_ROOT}/

COPY --chown=pptruser:pptruser package.json ${PUPPETEER_ROOT}/
USER pptruser
RUN cd ${PUPPETEER_ROOT} && \
npm install && \
npm cache clean -f
Expand Down

0 comments on commit 8e0fb45

Please sign in to comment.