website/docker-compose.yml

28 lines
464 B
YAML
Raw Permalink Normal View History

2023-09-02 20:18:29 +02:00
version: '3'
services:
proxy:
image: nginx:1.17-alpine
volumes:
- output:/usr/share/nginx/html
ports:
- 9001:80
website:
2023-09-03 18:46:44 +02:00
restart: always
2023-09-02 20:18:29 +02:00
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: