Remove bad instructions from docker-compose
This commit is contained in:
+2
-2
@@ -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"]
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user