2023-02-06 00:36:01 +01:00
|
|
|
|
|
|
|
|
# For more information, please refer to https://aka.ms/vscode-docker-python
|
|
|
|
|
FROM python:3.10.0
|
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
RUN git clone https://github.com/Paillat-dev/presentator.git
|
|
|
|
|
RUN pip install -r /presentator/requirements.txt
|
2023-02-06 00:46:01 +01:00
|
|
|
WORKDIR /presentator/code
|
2023-02-06 00:36:01 +01:00
|
|
|
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
|
2023-02-06 00:46:01 +01:00
|
|
|
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /presentator/code
|
2023-02-06 00:36:01 +01:00
|
|
|
USER appuser
|
|
|
|
|
CMD ["python", "main.py"]
|