Added dev docker stack

This commit is contained in:
Nikurasu 2023-01-12 21:57:24 +01:00
parent 1b0ae160f5
commit 9657794c59
4 changed files with 17 additions and 1897 deletions

View 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"]

View file

@ -0,0 +1,3 @@
cd /app
yarn
yarn dev

1
dev/shell/docker-test.sh Normal file
View file

@ -0,0 +1 @@
docker build -t dev.cat-enby.club/nikurasu/socialtree-js:test -f dev/docker/images/main/Dockerfile --no-cache .

1897
yarn.lock

File diff suppressed because it is too large Load diff