🐳 new Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user