diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d8238d9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,31 @@ +# Use the official Python image from the Docker Hub +FROM registry.spiritofweb.ru/python:3.13-slim + +# Set the working directory in the container +WORKDIR /app + +# Copy the requirements file to the container +COPY requirements.txt . + +# Install dependencies +RUN pip install --no-cache-dir -r requirements.txt + +COPY static/ ./static/ +COPY templates/ ./templates/ +# Copy the entire application code to the container +COPY main.py main.py +COPY db.py db.py +COPY vk.py vk.py +COPY auth.py auth.py +COPY models.py models.py +COPY roles.py roles.py +COPY config.py config.py +COPY utils.py utils.py +COPY token_manager.py token_manager.py +COPY certs.pem certs.pem +COPY templates.py templates.py +COPY email_task.py email_task.py +COPY tg.py tg.py +COPY images.py images.py +COPY delivery_router.py delivery_router.py +COPY tasks.py tasks.py