generated from pythoninthegrasses/python_template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (22 loc) · 650 Bytes
/
docker-compose.yml
File metadata and controls
24 lines (22 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3.9"
services:
helloworld:
container_name: my-hello-world
platform: linux/amd64 # linux/amd64 / linux/arm64/v8
# image: jollygoodhorsepower/my-hello-world
tty: true # false for `entrypoint` in Dockerfile
stdin_open: true # false for `entrypoint` in Dockerfile
env_file:
- ./.env
environment:
- PIP_DISABLE_PIP_VERSION_CHECK=off
volumes:
- .:/app
ports:
- ${PORT:-3000}:${PORT:-3000}
build:
context: ./
dockerfile: ./Dockerfile.web
networks:
default:
driver: bridge