Remove bad instructions from docker-compose

This commit is contained in:
Aarni Halinen
2018-08-06 19:49:47 +03:00
parent 5ae882617a
commit 984940171d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
FROM node:8
WORKDIR /code
COPY package*.json ./
ENV IS_DOCKER 1
RUN env
RUN npm install
COPY . .
EXPOSE 8080
CMD ["npm", "start"]
+1 -1
View File
@@ -4,6 +4,6 @@ services:
web-frontend:
build: .
image: git.sahkoinsinoorikilta.fi:4567/vtmk/web2.0-frontend
command: ["bash", "-c", "cd /code && ./wait-for-it.sh db:5432 -- npm run start-prod"]
command: ["bash", "-c", "npm run start-prod"]
ports:
- "3000:8080"