website/docker-compose.yml
Frederik Ring 04413b58b7
All checks were successful
Build / build (push) Successful in 2m30s
Set up template inheritance
2023-09-03 18:46:44 +02:00

28 lines
464 B
YAML

version: '3'
services:
proxy:
image: nginx:1.17-alpine
volumes:
- output:/usr/share/nginx/html
ports:
- 9001:80
website:
restart: always
build:
context: '.'
dockerfile: ./Dockerfile.python
working_dir: /code/website
volumes:
- .:/code
- websitedeps:/root/.local
- output:/code/website/output
command: make regenerate
environment:
DEBUG: 1
volumes:
websitedeps:
output: