This commit is contained in:
Jonathan Jara 2025-05-01 01:38:01 -07:00
parent 22c165185c
commit 3bf0231329
2 changed files with 15 additions and 1 deletions

14
compose.yml Normal file
View File

@ -0,0 +1,14 @@
services:
web:
build:
context: .
dockerfile: web/Dockerfile
ports:
- "8080:80"
api:
build:
context: ./server
ports:
- "3250:3250"

View File

@ -1,6 +1,6 @@
FROM nginx:alpine
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/web.conf
COPY web/nginx.conf /etc/nginx/conf.d/web.conf
COPY ../webgl-build /usr/share/nginx/html