ticvac
2 days ago
2 changed files with 0 additions and 22 deletions
@ -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"] |
|
@ -1,12 +0,0 @@ |
|||||
version: '3' |
|
||||
|
|
||||
services: |
|
||||
django_app: |
|
||||
build: . |
|
||||
volumes: |
|
||||
- this_vol:/usr/src/app/ |
|
||||
ports: |
|
||||
- 8000:8000 |
|
||||
|
|
||||
volumes: |
|
||||
this_vol: |
|
Loading…
Reference in new issue