pdf-web-toolkit/Dockerfile

20 lines
471 B
Docker
Raw Permalink Normal View History

2023-10-11 17:51:35 +00:00
FROM python:3.11-slim
2024-01-23 15:27:40 +00:00
# FROM python:3.11.3
2023-10-11 17:51:35 +00:00
# set the working directory
WORKDIR /app
RUN mkdir /app/uploads
RUN mkdir /app/split
2023-12-06 21:26:14 +00:00
RUN mkdir /app/merge
2024-01-05 10:53:12 +00:00
RUN mkdir /app/projects
2023-10-11 17:51:35 +00:00
RUN apt-get update
# install dependencies
COPY ./requirements.txt /app
RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --no-cache-dir --upgrade -r requirements.txt
# copy the scripts to the folder
COPY . /app
CMD ["bash", "init.sh"]