Added dev docker stack
This commit is contained in:
parent
1b0ae160f5
commit
9657794c59
4 changed files with 17 additions and 1897 deletions
13
dev/docker/stacks/dev/compose.yml
Normal file
13
dev/docker/stacks/dev/compose.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: node:lts-alpine
|
||||
container_name: socialtree
|
||||
environment:
|
||||
PORT: 3000
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- ../../../../:/app
|
||||
- ./docker-entrypoint.sh:/docker-entrypoint.sh
|
||||
entrypoint: ["sh", "/docker-entrypoint.sh"]
|
3
dev/docker/stacks/dev/docker-entrypoint.sh
Normal file
3
dev/docker/stacks/dev/docker-entrypoint.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
cd /app
|
||||
yarn
|
||||
yarn dev
|
1
dev/shell/docker-test.sh
Normal file
1
dev/shell/docker-test.sh
Normal file
|
@ -0,0 +1 @@
|
|||
docker build -t dev.cat-enby.club/nikurasu/socialtree-js:test -f dev/docker/images/main/Dockerfile --no-cache .
|
Loading…
Reference in a new issue