Skip to content

Commit

Permalink
Updated port of listenin
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielhamel committed Jan 30, 2020
1 parent b9bb7c0 commit 0d0469d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ services:

router:
build: webserver/router
ports:
- "3001:3001"
depends_on:
- game_server

html:
build: webserver/views
depends_on:
- router
ports:
- "3001:3001"
- "3002:5000"
8 changes: 8 additions & 0 deletions webserver/views/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:13.7.0-alpine3.10
WORKDIR /usr/src/view
COPY . .
RUN npm i
RUN npm i typescript@3.4.5 -g
RUN npm i serve -g
RUN tsc
CMD ["serve"]

0 comments on commit 0d0469d

Please sign in to comment.