Commit a5b581b2 authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

adjusted build procedure for docker

parent f3ee3927
Pipeline #10906 failed with stage
in 7 seconds
version: '3' version: '3.7'
services: services:
mc_frontend: mc_frontend:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
entrypoint: ionic cordova build browser --prod --release --max-old-space-size=4096 entrypoint: ng build --prod
environment: environment:
- CHROME_BIN=google-chrome - CHROME_BIN=google-chrome
# ports:
# - "8100:8100"
restart: always restart: always
stdin_open: true stdin_open: true
tty: true tty: true
...@@ -17,9 +15,9 @@ services: ...@@ -17,9 +15,9 @@ services:
# volumes: # volumes:
# - .:/home/mc/mc_frontend # - .:/home/mc/mc_frontend
volumes: volumes:
- $PWD/www:/home/mc/mc_frontend/platforms/browser/www - $PWD/www:/home/mc/mc_frontend/www
nginx: nginx:
command: nginx-debug -g "daemon off;" command: nginx -g "daemon off;"
image: nginx:alpine image: nginx:alpine
ports: ports:
- "8100:80" - "8100:80"
...@@ -32,5 +30,5 @@ services: ...@@ -32,5 +30,5 @@ services:
- mc_frontend - mc_frontend
networks: networks:
default: default:
external: external: true
name: mc_backend_default name: mc_backend_default
{ {
"name": "mc_frontend", "name": "mc_frontend",
"version": "1.7.2", "version": "1.7.3",
"author": "Ionic Framework", "author": "Ionic Framework",
"homepage": "https://ionicframework.com/", "homepage": "https://ionicframework.com/",
"scripts": { "scripts": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment