We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615cd6b commit 14c0f5fCopy full SHA for 14c0f5f
docker-compose.yml
@@ -1,21 +1,22 @@
1
version: '2'
2
services:
3
- nginx:
4
- build:
5
- context: nginx
6
- dockerfile: Dockerfile
7
- ports:
8
- - "80:80"
9
- command: nginx -g "daemon off";
10
- depends_on:
11
- - nodejs
+ # nginx:
+ # build:
+ # context: nginx
+ # dockerfile: Dockerfile
+ # ports:
+ # - "80:80"
+ # command: nginx -g "daemon off";
+ # depends_on:
+ # - nodejs
12
13
nodejs:
14
build:
15
context: .
16
dockerfile: Dockerfile
17
- expose:
18
- - "3000"
+ # expose:
+ # - "3000"
19
+ ports:
20
+ - "3000:3000"
21
command: npm start
22
-
0 commit comments