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:
mc_frontend:
build:
context: .
dockerfile: Dockerfile
entrypoint: ionic cordova build browser --prod --release --max-old-space-size=4096
entrypoint: ng build --prod
environment:
- CHROME_BIN=google-chrome
# ports:
# - "8100:8100"
restart: always
stdin_open: true
tty: true
......@@ -17,9 +15,9 @@ services:
# volumes:
# - .:/home/mc/mc_frontend
volumes:
- $PWD/www:/home/mc/mc_frontend/platforms/browser/www
- $PWD/www:/home/mc/mc_frontend/www
nginx:
command: nginx-debug -g "daemon off;"
command: nginx -g "daemon off;"
image: nginx:alpine
ports:
- "8100:80"
......@@ -32,5 +30,5 @@ services:
- mc_frontend
networks:
default:
external:
external: true
name: mc_backend_default
{
"name": "mc_frontend",
"version": "1.7.2",
"version": "1.7.3",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"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