File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 3131 platforms : linux/amd64,linux/arm64
3232 push : true
3333 tags : ${{ vars.DOCKER_USERNAME }}/simra-frontend:latest
34+ target : github_production
3435 build-args : |
35- SIMRA_API_URL=${{ secrets.SIMRA_API_URL }}
3636 MAPILLARY_URL=${{ vars.MAPILLARY_URL }}
37- MAPILLARY_ACCESS_TOKEN=${{ secrets.MAPILLARY_ACCESS_TOKEN }}
37+ secrets : |
38+ "simra_api_url=${{ secrets.SIMRA_API_URL }}"
39+ "mapillary_access_token=${{ secrets.MAPILLARY_ACCESS_TOKEN }}"
3840
3941
Original file line number Diff line number Diff line change 1- FROM node:23-alpine AS localBuilder
1+ FROM node:23-alpine AS local_builder
22
33WORKDIR /usr/src/app
44
@@ -20,7 +20,7 @@ COPY . .
2020
2121RUN nx build --skip-nx-cache --prod
2222
23- FROM node:23-alpine AS githubBuilder
23+ FROM node:23-alpine AS github_builder
2424
2525WORKDIR /usr/src/app
2626
@@ -44,14 +44,14 @@ COPY . .
4444
4545RUN nx build --skip-nx-cache --prod
4646
47- FROM nginx:stable-alpine AS localProduction
47+ FROM nginx:stable-alpine AS local_production
4848
4949COPY ./nginx.conf /etc/nginx/conf.d/default.conf
5050COPY --from=localBuilder /usr/src/app/dist/simra/browser /usr/share/nginx/html
5151
5252EXPOSE 80
5353
54- FROM nginx:stable-alpine AS githubProduction
54+ FROM nginx:stable-alpine AS github_production
5555
5656COPY ./nginx.conf /etc/nginx/conf.d/default.conf
5757COPY --from=githubBuilder /usr/src/app/dist/simra/browser /usr/share/nginx/html
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services:
77 pull_policy : always
88 build :
99 context : .
10- target : localProduction
10+ target : local_production
1111 dockerfile : Dockerfile
1212 args :
1313 SIMRA_API_URL : ${SIMRA_API_URL}
You can’t perform that action at this time.
0 commit comments