[go: nahoru, domu]

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

Commit

Permalink
Refactor Dockerfile to install dependencies separately
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed May 20, 2023
1 parent 8d030a5 commit 8809478
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
&& chown -R pptruser:pptruser .
# Run user as non privileged.
USER pptruser
RUN pip install -r requirements.txt && \
pyppeteer-install && \
playwright install-deps && \
playwright install chromium
RUN pip install -r requirements.txt
RUN pyppeteer-install
RUN playwright install-deps
RUN playwright install chromium
RUN chmod -R 777 /app
EXPOSE 8443 8080
CMD [ "python", "./bot.py" ]

0 comments on commit 8809478

Please sign in to comment.