Compare commits

...

3 commits

Author SHA1 Message Date
9ee36727ef Dockerized app 2019-12-30 15:59:58 +01:00
10d491fa96 Merge tag 'github-security-alerts' into develop
github-security-alerts
2019-12-21 15:37:40 +01:00
18abbd32f8 Merge branch 'master' into develop 2019-05-05 12:43:56 +02:00
10 changed files with 23 additions and 1 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM python:3
ADD app /app
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --requirement /app/requirements.txt
WORKDIR /app
EXPOSE 5000/TCP
CMD [ "python3", "server.py" ]

View file

@ -1,4 +1,4 @@
imgdir = "." imgdir = "/images"
recursive = True recursive = True
refresh = 5 refresh = 5
cachedir = "auto" cachedir = "auto"

View file

Before

Width:  |  Height:  |  Size: 43 B

After

Width:  |  Height:  |  Size: 43 B

View file

Before

Width:  |  Height:  |  Size: 673 B

After

Width:  |  Height:  |  Size: 673 B

13
docker-compose.yml Normal file
View file

@ -0,0 +1,13 @@
version: "2"
services:
webslider:
container_name: webslider
build:
context: .
ports:
- 5005:5000
volumes:
- ./images:/images
restart: always