Skip to content

Commit

Permalink
Fix DB publisher (#20)
Browse files Browse the repository at this point in the history
* Fix DB publisher

* Fix DB publisher
  • Loading branch information
jifeon authored Jul 30, 2018
1 parent 1f9b2f1 commit c9e49df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion publisher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ WORKDIR /usr/src/app
COPY ./start.sh /usr/src/app/start.sh

RUN chmod 755 start.sh
CMD sh start.sh
CMD ./start.sh
1 change: 1 addition & 0 deletions publisher/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ services:
- DESTINATION_DOCKER_IMAGE=plyo/db:data
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./start.sh:/usr/src/app/start.sh
2 changes: 1 addition & 1 deletion publisher/start.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
docker login -p=${DOCKERHUB_PASS} -u=${DOCKERHUB_LOGIN}
docker pull ${POSTGRES_IMAGE}

Expand Down

0 comments on commit c9e49df

Please sign in to comment.