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 RUN gulp
COPY . . COPY . .
EXPOSE 8080 EXPOSE 8080
EXPOSE 5432
CMD ["npm" , "run"] CMD ["npm" , "run"]

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

Loading…
Cancel
Save