Skip to content
Snippets Groups Projects
Commit f62d8b7c authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Add gitlab-ci file clean up dockerfile and docker-compose-staging.yml

parent 8a3107da
Branches
Tags
No related merge requests found
stages:
- build
- deploy
build:
stage: build
only:
- staging
script:
- docker-compose -f docker-compose-staging.yml build
deploy:
stage: deploy
only:
- staging
script:
- docker-compose -f docker-compose-staging.yml up -d
...@@ -8,9 +8,6 @@ WORKDIR /app/webapp ...@@ -8,9 +8,6 @@ WORKDIR /app/webapp
# Install npm dependencies # Install npm dependencies
RUN npm install RUN npm install
# For windows environment, with already a node_modules folder, we need reinstall the node-sass package
#RUN npm rebuild node-sass
# Building the Angular app /dist i18n # Building the Angular app /dist i18n
RUN npm run build-i18n RUN npm run build-i18n
......
version: "2" version: "2"
services: services:
# proxy-elasticsearch:
# image: nginx
# volumes:
# - ./proxy.conf:/etc/nginx/conf.d/default.conf
# ports:
# - 8000:80
nginx-app: nginx-app:
build: build:
context: ./ context: ./
...@@ -15,5 +8,4 @@ services: ...@@ -15,5 +8,4 @@ services:
- ./webapp-nginx.conf:/etc/nginx/conf.d/default.conf - ./webapp-nginx.conf:/etc/nginx/conf.d/default.conf
ports: ports:
- 8080:8080 - 8080:8080
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment