🐳 new Dockerfile

This commit is contained in:
2020-12-20 18:23:30 +01:00
parent 2cdd1cd961
commit 33d8622eb2
2 changed files with 15 additions and 10 deletions

View File

@@ -1,9 +1,8 @@
version: '3'
version: "3"
services:
httpd:
build: .
environment:
- APP_CONF=config={"baseUrl":"http://localhost:8081"}
command: ["sh", "-c", "envsubst < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"]
volumes:
- ./public/env.sample.js:/usr/share/nginx/html/env.js
ports:
- 4050:80
- 4050:80