Bot commit: Добавлен файл Dockerfile
This commit is contained in:
parent
998b347f71
commit
29484b6335
31
Dockerfile
Normal file
31
Dockerfile
Normal file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user