mirror of
https://github.com/Paillat-dev/presentator.git
synced 2026-01-02 09:16:20 +00:00
Update Dockerfile
This commit is contained in:
@@ -4,9 +4,9 @@ FROM python:3.10.0
|
|||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
RUN git clone https://github.com/Paillat-dev/presentator.git
|
RUN git clone https://github.com/Paillat-dev/presentator.git
|
||||||
RUN pip install -r /presentator/requirements.txt
|
RUN pip install -r /presentator/requirements.txt
|
||||||
WORKDIR /presentator
|
WORKDIR /presentator/code
|
||||||
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 adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /presentator
|
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /presentator/code
|
||||||
USER appuser
|
USER appuser
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
||||||
Reference in New Issue
Block a user