Browse Source

initial commit

master
commit
bda5c2655a
4 changed files with 23 additions and 0 deletions
  1. +8
    -0
      Dockerfile
  2. +6
    -0
      Readme.md
  3. +9
    -0
      docker-compose.yml
  4. +0
    -0
      nginx.conf

+ 8
- 0
Dockerfile View File

@ -0,0 +1,8 @@
FROM nginx
MAINTAINER gmarxcc
#enable the autoindex option
RUN sed -i 'N; s/root \/usr\/share\/nginx\/html;\n index index.html index.htm;/root \/usr\/share\/nginx\/html;\n autoindex on;/' /etc/nginx/conf.d/default.conf
#COPY nginx.conf /etc/nginx/nginx.conf
#COPY html /usr/share/nginx/html

+ 6
- 0
Readme.md View File

@ -0,0 +1,6 @@
# Readme
This itm-web use
```
$ docker build .
```

+ 9
- 0
docker-compose.yml View File

@ -0,0 +1,9 @@
version: '3'
services:
web:
build: .
restart: always
volumes:
- ./html:/usr/share/nginx/html:ro
ports:
- '7805:80'

+ 0
- 0
nginx.conf View File


Loading…
Cancel
Save