Skip to content

Commit

Permalink
Added env to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGLund99 committed Nov 29, 2023
1 parent 62b1e41 commit 6b0113b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ services:
build: . # Dockerfile location
container_name: server-container
command: python -u -m server.server --host 0.0.0.0 --port 80 --reload
env_file:
- .env
volumes:
- .:/code # Mount current directory to /code in the image
ports:
- "8000:80"
- "80:80"

0 comments on commit 6b0113b

Please sign in to comment.