@ -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:
ports:
- "8080"
- "8080:8080"
command: "npm start"