feat: dockerize
This commit is contained in:
parent
c9b9fe1eab
commit
6f69779ec3
|
@ -2,3 +2,4 @@ node_modules
|
|||
dist
|
||||
store
|
||||
config.json
|
||||
docker-compose.yml
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
services:
|
||||
server:
|
||||
image: node:18-alpine
|
||||
volumes:
|
||||
- '.:/opt/code'
|
||||
working_dir: '/opt/code'
|
||||
entrypoint: ['/opt/code/docker-start.sh']
|
||||
ports:
|
||||
- 8080:80
|
||||
environment:
|
||||
HOST: 0.0.0.0
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
yarn
|
||||
yarn start
|
Loading…
Reference in New Issue