Update Dockerfile

This commit is contained in:
Paillat
2023-02-06 10:26:13 +01:00
parent 3d5dfc9ecb
commit 880bdd10a1

View File

@@ -9,6 +9,7 @@ RUN apt-get install -y chromium # for marp
WORKDIR /presentator WORKDIR /presentator
RUN wget https://github.com/marp-team/marp-cli/releases/download/v2.3.0/marp-cli-v2.3.0-linux.tar.gz RUN wget https://github.com/marp-team/marp-cli/releases/download/v2.3.0/marp-cli-v2.3.0-linux.tar.gz
RUN tar -xvf marp-cli-v2.3.0-linux.tar.gz RUN tar -xvf marp-cli-v2.3.0-linux.tar.gz
RUN rm marp-cli-v2.3.0-linux.tar.gz
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /presentator RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /presentator
USER appuser USER appuser
CMD ["python", "main.py"] CMD ["python", "main.py"]