dockerizing for production
This commit is contained in:
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
qna-viewer:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file:
|
||||
# Also load the .env file for the runtime container environment (for the entrypoint script).
|
||||
- viewer/.env
|
||||
ports:
|
||||
# Map port on the host to port 80 in the container
|
||||
- "8073:80"
|
||||
restart: unless-stopped
|
||||
container_name: qna-viewer-react
|
||||
Reference in New Issue
Block a user