Fixed docker compose

pull/1/head
Trivernis 5 years ago
parent cbc1609ad4
commit 3d25186e49

@ -8,4 +8,5 @@ RUN npm rebuild node-sass
RUN gulp
COPY . .
EXPOSE 8080
EXPOSE 5432
CMD ["npm" , "run"]

@ -1,4 +1,4 @@
version: "2"
version: "3"
services:
greenvironment:
build:
@ -10,6 +10,6 @@ services:
- NODE_ENV=production
volumes:
- ./:/home/node/green
expose:
- "8080"
ports:
- "8080:8080"
command: "npm start"

Loading…
Cancel
Save