kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Minor tweaks for development setup
rodzic
cd5c05e72a
commit
7072858814
|
@ -3,8 +3,8 @@ FROM python:3.8-slim
|
||||||
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
|
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
COPY requirements.txt /tmp/requirements.txt
|
# Should be mounted from docker-compose-development.yml
|
||||||
RUN pip3 install -r /tmp/requirements.txt
|
RUN pip3 install -r /requirements.txt
|
||||||
|
|
||||||
|
|
||||||
RUN [ ! -d "/datastore" ] && mkdir /datastore
|
RUN [ ! -d "/datastore" ] && mkdir /datastore
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
aiohttp
|
|
||||||
async-timeout
|
|
||||||
chardet==2.3.0
|
|
||||||
multidict
|
|
||||||
python-engineio
|
|
||||||
six==1.10.0
|
|
||||||
yarl
|
|
||||||
flask
|
|
||||||
|
|
||||||
eventlet
|
|
||||||
requests
|
|
||||||
validators
|
|
||||||
|
|
||||||
bleach==3.2.1
|
|
||||||
html5lib==0.9999999 # via bleach
|
|
||||||
timeago
|
|
||||||
html2text
|
|
||||||
|
|
||||||
# @notes
|
|
||||||
# - Dont install socketio, it interferes with flask_socketio
|
|
|
@ -1,20 +0,0 @@
|
||||||
aiohttp
|
|
||||||
async-timeout
|
|
||||||
chardet==2.3.0
|
|
||||||
multidict
|
|
||||||
python-engineio
|
|
||||||
six==1.10.0
|
|
||||||
yarl
|
|
||||||
flask
|
|
||||||
|
|
||||||
eventlet
|
|
||||||
requests
|
|
||||||
validators
|
|
||||||
|
|
||||||
bleach==3.2.1
|
|
||||||
html5lib==0.9999999 # via bleach
|
|
||||||
timeago
|
|
||||||
html2text
|
|
||||||
|
|
||||||
# @notes
|
|
||||||
# - Dont install socketio, it interferes with flask_socketio
|
|
|
@ -10,6 +10,7 @@ services:
|
||||||
container_name: changedetection.io-dev
|
container_name: changedetection.io-dev
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/app
|
- ./backend:/app
|
||||||
|
- ./requirements.txt:/requirements.txt # Normally COPY'ed in the Dockerfile
|
||||||
- ./datastore:/datastore
|
- ./datastore:/datastore
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|
Ładowanie…
Reference in New Issue