mirror of
https://github.com/Paillat-dev/presentator.git
synced 2026-01-02 01:06:20 +00:00
Update Dockerfile
This commit is contained in:
@@ -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"]
|
||||||
Reference in New Issue
Block a user