1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 07:18:06 +02:00

Remove trailing whitespace from Django app

Signed-off-by: Wes Lord <weslord@fisgardlabs.com>
This commit is contained in:
Wes Lord 2024-12-21 13:23:04 -08:00
parent 18f59bdb09
commit 23fe121009
3 changed files with 9 additions and 9 deletions

View file

@ -14,10 +14,10 @@ Project structure:
[_compose.yaml_](compose.yaml)
```
services:
web:
build: app
ports:
services:
web:
build: app
ports:
- '8000:8000'
```

View file

@ -2,11 +2,11 @@
FROM --platform=$BUILDPLATFORM python:3.7-alpine AS builder
EXPOSE 8000
WORKDIR /app
WORKDIR /app
COPY requirements.txt /app
RUN pip3 install -r requirements.txt --no-cache-dir
COPY . /app
ENTRYPOINT ["python3"]
COPY . /app
ENTRYPOINT ["python3"]
CMD ["manage.py", "runserver", "0.0.0.0:8000"]
FROM builder as dev-envs

View file

@ -1,7 +1,7 @@
services:
web:
web:
build:
context: app
target: builder
ports:
ports:
- '8000:8000'