Files
django-example-app/Dockerfile
Basyrov Rustam f81388e462
All checks were successful
CI-pipeline / linters (pull_request) Successful in 38s
make migrations in docker-entrypoint
2025-06-06 13:43:56 +03:00

15 lines
235 B
Docker

FROM python:3.11-alpine
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY ./manage.py .
# RUN ./manage.py migrate
COPY docker-entrypoint.sh .
EXPOSE 8000
CMD [ "./docker-entrypoint.sh" ]