Updated docker-compose files so that they just use an image and don't need the Dockerfile

This commit is contained in:
Alejandro Celaya 2018-08-06 19:41:57 +02:00
parent 671f20dd09
commit a2f174f687
2 changed files with 14 additions and 15 deletions

View file

@ -3,9 +3,8 @@ version: '3'
services:
shlink_web_client_node:
container_name: shlink_web_client_node
build:
context: .
dockerfile: ./Dockerfile
image: node:10.4.1-alpine
command: /bin/sh -c "cd /home/shlink/www && yarn install && yarn start"
volumes:
- ./:/home/shlink/www
ports: