Skip to content

Commit

Permalink
chore: Consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sindre-nistad committed Apr 20, 2023
1 parent 762b584 commit 5a5f19a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
nginx:
restart: unless-stopped
build:
target: prod
target: nginx-prod
context: ./web
image: boilerplate.azurecr.io/nginx:latest
ports:
Expand Down
2 changes: 1 addition & 1 deletion radixconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
image: ghcr.io/equinor/template-fastapi-react/nginx:{imageTagName}
alwaysPullImageOnDeploy: true
environmentConfig:
- environment: prod
- environment: nginx-prod
imageTagName: production
- environment: test
imageTagName: latest
Expand Down
2 changes: 1 addition & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ COPY nginx/environments/web.dev.conf /etc/nginx/environments/
FROM base as build
RUN yarn build

FROM server AS prod
FROM server AS nginx-prod
COPY nginx/environments/web.prod.conf /etc/nginx/environments/
COPY --from=build /code/build /data/www

0 comments on commit 5a5f19a

Please sign in to comment.