mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-03 14:57:22 +03:00
Updated docker-compose files so that they just use an image and don't need the Dockerfile
This commit is contained in:
parent
671f20dd09
commit
a2f174f687
2 changed files with 14 additions and 15 deletions
|
@ -1,8 +1,8 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
shlink_web_client_node:
|
shlink_web_client_node:
|
||||||
user: 1000:1000
|
user: 1000:1000
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/passwd:/etc/passwd:ro
|
- /etc/passwd:/etc/passwd:ro
|
||||||
- /etc/group:/etc/group:ro
|
- /etc/group:/etc/group:ro
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
shlink_web_client_node:
|
shlink_web_client_node:
|
||||||
container_name: shlink_web_client_node
|
container_name: shlink_web_client_node
|
||||||
build:
|
image: node:10.4.1-alpine
|
||||||
context: .
|
command: /bin/sh -c "cd /home/shlink/www && yarn install && yarn start"
|
||||||
dockerfile: ./Dockerfile
|
volumes:
|
||||||
volumes:
|
- ./:/home/shlink/www
|
||||||
- ./:/home/shlink/www
|
ports:
|
||||||
ports:
|
- "3000:3000"
|
||||||
- "3000:3000"
|
- "56745:56745"
|
||||||
- "56745:56745"
|
|
||||||
|
|
Loading…
Reference in a new issue