Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing whitespace from Django app #536

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions django/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Project structure:

[_compose.yaml_](compose.yaml)
```
services:
web:
build: app
ports:
services:
web:
build: app
ports:
- '8000:8000'
```

Expand Down
6 changes: 3 additions & 3 deletions django/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions django/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
web:
web:
build:
context: app
target: builder
ports:
ports:
- '8000:8000'