Skip to content

Commit

Permalink
updating docker
Browse files Browse the repository at this point in the history
  • Loading branch information
le-sun committed Nov 30, 2022
1 parent fb74549 commit 95f2853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ RUN python3 -m pip install -U "watchdog[watchmedo]"
RUN mkdir -p /usr/app/src
RUN mkdir /usr/app/src/config_local
COPY . /usr/app/
COPY db_config.sample.py config_local/db.py
COPY keys.sample.py config_local/keys.py
COPY twitter_config_sample.py config_local/twitter.py
COPY db_config.sample.py /usr/app/src/config_local/db.py
COPY keys.sample.py /usr/app/src/config_local/keys.py
COPY twitter_config_sample.py /usr/app/src/config_local/twitter.py

COPY /misc/hub_hub.csv /usr/misc/hub_hub.csv
RUN mkdir -p /tmp/pdf_cermine/
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ services:
environment: *env
command:
sh -c '
watchmedo auto-restart --recursive --pattern="*.py;*.env;*.html" --directory="." python manage.py runserver -- --nostatic 0.0.0.0:8080'
watchmedo auto-restart --recursive --pattern="*.py;*.env;*.html" --directory="." python manage.py runserver -- 0.0.0.0:8080'
ports:
- '8000:8080'
depends_on:
Expand Down

0 comments on commit 95f2853

Please sign in to comment.