Skip to content

Commit

Permalink
Fix location of wait script in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
HacKanCuBa committed Apr 3, 2018
1 parent 13bc401 commit 6392670
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN lessc ${APP_ROOT}/eventol/front/eventol/static/manager/less/eventol.less > $
RUN lessc ${APP_ROOT}/eventol/front/eventol/static/manager/less/eventol-bootstrap.less > ${APP_ROOT}/eventol/manager/static/manager/css/eventol-bootstrap.css

# Copy script for docker-compose wait and start-eventol
COPY ./deploy/docker/scripts/wait-for-it.sh /root
COPY ./deploy/docker/scripts/wait-for-it.sh ${APP_ROOT}/wait-for-it.sh
COPY ./deploy/docker/scripts/start_eventol.sh ${APP_ROOT}/start_eventol.sh

# Compile reactjs code
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
- /usr/src/app
environment:
- DJANGO_CONFIGURATION=Prod
command: /root/wait-for-it.sh -p 5432 -h postgres -t 40 -- ./start_eventol.sh
command: ./wait-for-it.sh -p 5432 -h postgres -t 40 -- ./start_eventol.sh
nginx:
restart: always
build: ./nginx/
Expand Down

0 comments on commit 6392670

Please sign in to comment.