This repository was archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to generic health authority UI
- Loading branch information
Showing
8 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[submodule "frontend/CovidCode-UI"] | ||
path = frontend/CovidCode-UI | ||
url = https://github.com/admin-ch/CovidCode-UI.git | ||
[submodule "authcodews/CovidCode-Service"] | ||
path = authcodews/CovidCode-Service | ||
url = https://github.com/admin-ch/CovidCode-Service.git | ||
[submodule "backendws/dp3t-sdk-backend"] | ||
path = backendws/dp3t-sdk-backend | ||
url = https://github.com/DP-3T/dp3t-sdk-backend.git | ||
[submodule "frontend/authcode-ui"] | ||
path = frontend/authcode-ui | ||
url = https://github.com/stayawayinesctec/authcode-ui.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
README.md | ||
.git | ||
.gitignore |
Submodule CovidCode-UI
deleted from
9fe0c0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,17 @@ FROM node:14 as build | |
WORKDIR /app | ||
ENV PATH /app/node_modules/.bin:$PATH | ||
|
||
COPY CovidCode-UI/package.json /app/package.json | ||
COPY authcode-ui/package.json /app/package.json | ||
RUN npm install | ||
RUN npm install -g @angular/[email protected] | ||
COPY CovidCode-UI/. /app | ||
COPY environment.prod.ts src/environments/ | ||
RUN ng build --output-path=dist --configuration=production | ||
|
||
COPY authcode-ui/. /app | ||
COPY env /app/.env | ||
RUN npm run generate | ||
|
||
FROM library/caddy:alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY --from=build /app/dist . | ||
RUN rm /app/README.md | ||
COPY Caddyfile /etc/caddy/Caddyfile |
Submodule authcode-ui
added at
c0b82a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
KEYCLOAK_URL=https://localhost | ||
AUTHCODE_URL=https://localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ $# -lt 3 ]; then | ||
if [ $# -lt 2 ]; then | ||
echo $0 "yyyy-mm-dd code" | ||
exit 1 | ||
fi | ||
|