Commit 84aee1d5 authored by Mauritz, Falk Marius's avatar Mauritz, Falk Marius
Browse files

möb

parent 294bd806
Pipeline #5872 failed with stage
in 2 minutes and 30 seconds
......@@ -12,6 +12,9 @@ before_script:
build:
stage: build
script:
- docker-compose build
- docker build -t $IMAGE_TAG frontend/
- docker push $IMAGE_TAG
- docker build -t $IMAGE_TAG-mm -f Dockerfile middleman/
- docker push $IMAGE_TAG-mm
FROM google/dart:2.2 AS builder
ENV PATH="${PATH}:/root/.pub-cache/bin"
WORKDIR /root/build-here
COPY frontend/pubspec.yaml /root/build-here/
COPY pubspec.yaml /root/build-here/
RUN pub get
COPY frontend/ /root/build-here/
COPY . /root/build-here/
RUN pub get
RUN pub run build_runner build --output web:build --release
FROM nginx
......
......@@ -2,9 +2,9 @@ FROM google/dart:2.2 AS builder
ENV PATH="${PATH}:/root/.pub-cache/bin"
RUN pub global activate aqueduct
WORKDIR /app
COPY middleman/pubspec.yaml /app/
COPY pubspec.yaml /app/
RUN pub get
COPY middleman/ /app/
COPY . /app/
RUN pub get
EXPOSE 8888
......
Supports Markdown
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