Skip to content

Commit f8f77cf

Browse files
committed
Put command in docker-compose-prod.yml
1 parent 22eab2b commit f8f77cf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ ENV PATH=/home/api/.local/bin:${PATH}
1212
COPY pyproject.toml poetry.lock ./
1313
RUN poetry install
1414
COPY . ./
15-
16-
CMD poetry run gunicorn go_capture.wsgi:application --bind 0.0.0.0:8000 -t 60

docker-compose-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
services:
22
api:
33
image: ${image}:${tag}
4+
command: "poetry run gunicorn go_capture.wsgi:application --bind 0.0.0.0:8000 -t 60"
45
env_file:
56
- .env
67
environment:

0 commit comments

Comments
 (0)