This commit is contained in:
Niklas Müller 2023-10-11 19:51:35 +02:00
parent 0ee6440ea3
commit 52dc67adc1
8 changed files with 174 additions and 0 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:3.11-slim
# set the working directory
WORKDIR /app
RUN mkdir /app/uploads
RUN mkdir /app/split
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"]