Set node to v7 and ports to 3000

This commit is contained in:
Aarni Halinen
2018-08-08 20:28:01 +03:00
parent abb9d5271c
commit 951486a6b0
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ echo "Deploying to development."
set -e
set -x
#pushd deployment-frontend
pushd deployment-frontend
docker-compose down
docker pull "$1"
docker-compose up -d
#popd
popd
set +x
set +e
+1 -1
View File
@@ -58,7 +58,7 @@ deploy_dev:
image: alpine:latest
environment:
name: dev
url: http://web.sik.party:8080
url: http://web.sik.party:3000
only:
- master
before_script:
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:10
FROM node:7
ENV IS_DOCKER 1
RUN env
+2 -2
View File
@@ -6,6 +6,6 @@ services:
image: git.sahkoinsinoorikilta.fi:4567/vtmk/web2.0-frontend
# Before you run this file for the first time, make sure
# you remove node_modules/ folders in your host machine
command: ["bash", "-c", "if test -d node_modules; then echo node_modules_exists; else cp -a /tmp/node_modules /code; fi && cd /code && npm install && npm run start-prod"]
command: ["bash", "-c", "if test -d node_modules; then echo node_modules_exists; else cp -a /tmp/node_modules /code; fi && cd /code && npm install && npm start"]
ports:
- "8080:3000"
- "3000:3000"