mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
26 lines
457 B
YAML
26 lines
457 B
YAML
version: '3'
|
|
|
|
services:
|
|
proxy:
|
|
image: nginx:1.17-alpine
|
|
volumes:
|
|
- output:/usr/share/nginx/html
|
|
ports:
|
|
- 8000:80
|
|
homepage:
|
|
build:
|
|
context: '.'
|
|
dockerfile: ./Dockerfile.python
|
|
working_dir: /website/homepage
|
|
volumes:
|
|
- .:/website
|
|
- homepagedeps:/root/.local
|
|
- output:/website/homepage/output
|
|
command: make regenerate
|
|
environment:
|
|
DEBUG: 1
|
|
|
|
volumes:
|
|
homepagedeps:
|
|
output:
|