Browse Source

lol docker tu nemel byt

pull/71/head
ticvac 3 days ago
parent
commit
7a781e463f
  1. 10
      Dockerfile
  2. 12
      docker-compose.yaml

10
Dockerfile

@ -1,10 +0,0 @@
FROM python:3.11.10-bookworm
WORKDIR /usr/src/app
RUN pip install --upgrade pip
COPY ./requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]

12
docker-compose.yaml

@ -1,12 +0,0 @@
version: '3'
services:
django_app:
build: .
volumes:
- this_vol:/usr/src/app/
ports:
- 8000:8000
volumes:
this_vol:
Loading…
Cancel
Save