Commit 04b0eb5d authored by marius-mauritz@gmx.de's avatar marius-mauritz@gmx.de
Browse files

mm

parent 841a50c8
Pipeline #4890 failed with stage
in 3 minutes and 7 seconds
......@@ -14,4 +14,6 @@ build:
script:
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
- docker build -t $IMAGE_TAG-mm -f Dockerfile-MM .
- docker push $IMAGE_TAG-mm
FROM google/dart:2.2 AS builder
ENV PATH="${PATH}:/root/.pub-cache/bin"
RUN pub global activate webdev
COPY ./middleman/ /app/
WORKDIR /app
RUN pub get
EXPOSE 81
ENTRYPOINT ["pub", "run", "aqueduct:aqueduct", "serve", "--port", "81"]
import 'dart:html';
import 'package:angular/angular.dart';
import 'package:angular_router/angular_router.dart';
import 'package:demo/src/view/main_component.template.dart' as ng;
......@@ -16,6 +18,6 @@ import 'main.template.dart' as self;
const InjectorFactory injector = self.injector$Injector;
void main() {
final String host = Platform.environment('MY_ENVIROMENT') as String;
runApp(ng.AppComponentNgFactory, createInjector: injector);
}
host: localhost
port: 5432
username: cal_user
password: password
databaseName: cal
\ No newline at end of file
databaseName: cal
DB_HOST=localhost;DB_NAME=cal;DB_PASS=password;DB_PORT=5432;DB_USER=cal_user;MIDDEL_MAN_PORT=8888;MIDDLE_MAN_HOST=localhost
\ No newline at end of file
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