added Docker and DockerCompose for server exposure

This commit is contained in:
2024-03-20 12:07:48 -05:00
parent 28cf2ff4e1
commit 0a560c460f

View File

@@ -0,0 +1,8 @@
version: "3.8"
services:
app:
build: .
ports:
- "8000:80" # Map port 8000 on the host to port 80 in the container
volumes:
- .:/usr/share/nginx/html # Mount the current directory to Nginx's serving directory in the container