dev #10

Merged
wtukatyr merged 3 commits from dev into main 2025-06-06 13:34:11 +03:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 9ada62f718 - Show all commits

View File

@@ -3,8 +3,6 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY ./mysite ./mysite
COPY ./polls ./polls
COPY ./manage.py .
RUN ./manage.py makemigrations

View File

@@ -6,6 +6,9 @@ services:
- "8989:8000"
depends_on:
- db
volumes:
./mysite:/app/mysite
./polls:/app/polls
environment:
DATABASE_NAME: ${DATABASE_NAME}
DATABASE_USERNAME: ${DATABASE_USERNAME}