Replace heroku with docker
This commit is contained in:
parent
c1d4f20c09
commit
19597a0446
|
@ -0,0 +1,3 @@
|
||||||
|
.git
|
||||||
|
node_modules
|
||||||
|
out
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM node
|
||||||
|
|
||||||
|
COPY package.json package-lock.json ./
|
||||||
|
RUN npm install
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD npm run start
|
|
@ -1,3 +0,0 @@
|
||||||
git remote rm heroku || 1
|
|
||||||
git remote add heroku https://git.heroku.com/mighty-wildwood-12743.git
|
|
||||||
git subtree push --prefix app heroku master
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: "2"
|
||||||
|
services:
|
||||||
|
social:
|
||||||
|
build: .
|
||||||
|
restart: always
|
||||||
|
network_mode: host
|
||||||
|
env_file: .evn
|
Loading…
Reference in New Issue