works
This commit is contained in:
parent
22c165185c
commit
3bf0231329
14
compose.yml
Normal file
14
compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
web:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: web/Dockerfile
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
|
||||||
|
api:
|
||||||
|
build:
|
||||||
|
context: ./server
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "3250:3250"
|
||||||
@ -1,6 +1,6 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
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
|
COPY ../webgl-build /usr/share/nginx/html
|
||||||
Loading…
x
Reference in New Issue
Block a user