fix(docker): mounting startup script on startup

This commit is contained in:
Chris Troutner
2022-05-16 15:16:48 -07:00
parent 3d6d544c21
commit a666dbcafd
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ VOLUME /home/safeuser/keys
EXPOSE 5010
# Start the application.
COPY start-production.sh start-production.sh
#COPY start-production.sh start-production.sh
CMD ["./start-production.sh"]
#CMD ["npm", "start"]
+4 -3
View File
@@ -43,8 +43,8 @@ services:
restart: always
bch-consumer:
#build: .
image: christroutner/ipfs-bch-wallet-consumer:v1.8.0
build: .
#image: christroutner/ipfs-bch-wallet-consumer:v1.8.0
container_name: bch-consumer
logging:
driver: 'json-file'
@@ -58,5 +58,6 @@ services:
ports:
- '5010:5010' # <host port>:<container port>
volumes:
- ../data/ipfsdata:/home/safeuser/ipfs-service-provider/.ipfsdata
- ../data/ipfsdata:/home/safeuser/ipfs-bch-wallet-consumer/.ipfsdata
- ./start-production.sh:/home/safeuser/ipfs-bch-wallet-consumer/start-production.sh
restart: always