dockerizing for production

This commit is contained in:
2025-08-05 14:00:07 +09:00
parent 9527b7d385
commit 27844ef237
10 changed files with 159 additions and 84 deletions

13
docker-compose.yml Normal file
View 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