We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3264b59 commit e653ce0Copy full SHA for e653ce0
Makefile
@@ -0,0 +1,22 @@
1
+OS_NAME := $(shell uname)
2
+
3
+.PHONY: main run review clean
4
5
+main: run
6
7
+run:
8
+ docker-compose up -d
9
10
+review:
11
+ifeq (${OS_NAME}, Darwin)
12
+ open http://localhost/
13
+else
14
+ firefox http://localhost/
15
+endif
16
17
+ps:
18
+ docker-compose ps
19
20
+clean:
21
+ docker-compose stop web
22
+ docker-compose rm -f web
docker-compose.yml
@@ -0,0 +1,8 @@
+version: '2'
+services:
+ web:
+ ports:
+ - 80:80/tcp
+ volumes:
+ - ./:/usr/share/nginx/html/
+ image: nginx
0 commit comments