Remove utility scripts and add worker-data to .gitignore

This commit is contained in:
conache
2024-08-09 22:47:52 +03:00
parent 0b9b0f9660
commit 8864b2659b
7 changed files with 17 additions and 82 deletions

View File

@ -1,17 +0,0 @@
# Use an official Python runtime as the base image
FROM amd64/python:3.9-buster as project_env
# Set the working directory in the container
WORKDIR /app
# Install dependencies
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip setuptools \
&& pip install -r requirements.txt
FROM project_env
COPY . /app/
# Set the entrypoint command
CMD ["gunicorn", "--conf", "/app/gunicorn_conf.py", "main:app"]