mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-22 04:03:10 -07:00
add docker
This commit is contained in:
parent
ffd7e4f3b4
commit
268be1aff7
2 changed files with 13 additions and 0 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM node:4-onbuild
|
||||
# replace this with your application's default port
|
||||
EXPOSE 7777
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
version: '2'
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
env_file: .env
|
||||
ports:
|
||||
- "7777:7777"
|
||||
volumes:
|
||||
- ".:/usr/src/app"
|
||||
command: "yarn run start:dev"
|
Loading…
Add table
Add a link
Reference in a new issue