fix: docker stuff

pull/27/head
Raphaël Vinot 2019-01-23 15:30:30 +01:00
parent bbb8c5343f
commit 8059c342fc
2 changed files with 2 additions and 2 deletions

View File

@ -15,5 +15,5 @@ run echo FLASK_APP="'`pwd`/lookyloo'" >> .env
RUN sed -i "s/SPLASH = 'http:\/\/127.0.0.1:8050'/SPLASH = 'http:\/\/splash:8050'/g" lookyloo/__init__.py RUN sed -i "s/SPLASH = 'http:\/\/127.0.0.1:8050'/SPLASH = 'http:\/\/splash:8050'/g" lookyloo/__init__.py
EXPOSE 5000 EXPOSE 5100
ENTRYPOINT ["pipenv", "run", "start_website.py"] ENTRYPOINT ["pipenv", "run", "start_website.py"]

View File

@ -9,6 +9,6 @@ services:
lookyloo: lookyloo:
build: . build: .
ports: ports:
- "5000:5000" - "5100:5100"
#volumes: #volumes:
# - /path/to/your/data/directory:/lookyloo/scraped # - /path/to/your/data/directory:/lookyloo/scraped