INIT
This commit is contained in:
parent
0ee6440ea3
commit
52dc67adc1
8 changed files with 174 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue