-
Notifications
You must be signed in to change notification settings - Fork 32
/
Dockerfile
32 lines (26 loc) · 917 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM node:14.15.4-alpine3.12
RUN npm install -g @angular/[email protected]
RUN ng new okta-app --routing
WORKDIR okta-app
RUN npm i rxjs
RUN npm install @angular/router
RUN npm i @angular/common
RUN npm install @okta/okta-signin-widget
WORKDIR ../
ADD . / okta-angular/
WORKDIR okta-angular
RUN rm -rf node_modules
RUN yarn install
RUN yarn build
RUN yarn link
WORKDIR ../
WORKDIR okta-app
RUN yarn install
RUN yarn link @okta/okta-angular
COPY /test/selenium-test/sign-in-widget/app.module.ts /okta-app/src/app
COPY /test/selenium-test/sign-in-widget/app.component.html /okta-app/src/app
COPY /test/selenium-test/sign-in-widget/app.component.ts /okta-app/src/app
COPY /test/selenium-test/sign-in-widget/protected.component.ts /okta-app/src/app
COPY /test/selenium-test/sign-in-widget/login.component.ts /okta-app/src/app
COPY /test/selenium-test/tsconfig.json /okta-app
COPY environment.ts /okta-app/src/environments