mirror of
https://github.com/offen/website.git
synced 2024-11-21 16:50:27 +01:00
use dedicated server for static assets in development
This commit is contained in:
parent
d460491ce7
commit
8bdb79f190
@ -1,9 +1,13 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
homepage:
|
||||
proxy:
|
||||
image: nginx:1.17-alpine
|
||||
volumes:
|
||||
- output:/usr/share/nginx/html
|
||||
ports:
|
||||
- 8000:8000
|
||||
- 8000:80
|
||||
homepage:
|
||||
build:
|
||||
context: '.'
|
||||
dockerfile: ./Dockerfile.python
|
||||
@ -11,9 +15,11 @@ services:
|
||||
volumes:
|
||||
- .:/website
|
||||
- homepagedeps:/root/.local
|
||||
command: make devserver
|
||||
- output:/website/homepage/output
|
||||
command: make regenerate
|
||||
environment:
|
||||
DEBUG: 1
|
||||
|
||||
volumes:
|
||||
homepagedeps:
|
||||
output:
|
||||
|
Loading…
Reference in New Issue
Block a user