File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 22FROM node:14 as node
33WORKDIR /app
44COPY . .
5+ # This is a workaround to avoid updating the file appconfig.production.json.
6+ # If you prefer updating appconfig.production.json yourself delete this line.
7+ RUN mv ./src/assets/appconfig.container.json ./src/assets/appconfig.production.json
58RUN yarn install
69RUN yarn run ng build --configuration production
710# stage 2
811FROM nginx
912COPY --from=node /app/dist /usr/share/nginx/html
10- # This is a workaround to avoid updating the file outside the container.
11- RUN sed -i "s/https/http/g" /usr/share/nginx/html/assets/appconfig.production.json
1213COPY fast-nginx-default.conf /etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change 1+ {
2+ "remoteServiceBaseUrl" : " http://localhost:44311" ,
3+ "appBaseUrl" : " http://localhost:4200" ,
4+ "localeMappings" : [
5+ {
6+ "from" : " pt-BR" ,
7+ "to" : " pt"
8+ },
9+ {
10+ "from" : " zh-CN" ,
11+ "to" : " zh"
12+ },
13+ {
14+ "from" : " he-IL" ,
15+ "to" : " he"
16+ }
17+ ]
18+ }
You can’t perform that action at this time.
0 commit comments