Initial Commit

Add docker-based dev-environment
This commit is contained in:
2018-01-25 20:40:29 +01:00
commit 142e11729a
4 changed files with 30 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx
COPY . /usr/share/nginx/html
EXPOSE 80

11
docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
version: '2.0'
services:
http-warn:
build:
context: .
dockerfile: Dockerfile
image: http-warn
ports:
- "8080:80"
volumes:
- .:/usr/share/nginx/html

7
index.html Normal file
View File

@ -0,0 +1,7 @@
<html>
<head>
</head>
<body>
<p>It's working!</p>
</body>
</html>

9
prod.docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
version: '2.0'
services:
http-warn:
build:
context: .
dockerfile: Dockerfile
image: http-warn
ports:
- "80:80"