Skip to content

Commit

Permalink
RISDEV-5880 Copy dist folder from docker directory
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-deazevedo committed Dec 17, 2024
1 parent 9338e2e commit e2343bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fileignoreconfig:
- filename: lefthook.yml
checksum: 8168972ed7d27ebebc6e2c33243fad92abe4f859f3bd2edb0c3b171940cac0ec
- filename: prod.Dockerfile
checksum: 67b03670b7d83e3d7439ed38beaa7bf44e645bdabd69526a820f21d5dbb945f3
checksum: e5d917f821d4d467ad4bcc77e165fb986971daeac4355adc0b60a758c69bf396
- filename: nginx.conf
checksum: 2f9c9124d8dfb11c9d7b4ce360b266d6fc26a47fbc99782bb82cf1b57ef292c4
- filename: frontend/env.d.ts
Expand Down
4 changes: 2 additions & 2 deletions prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:23.1.0
FROM node:23.1.0 AS builder

# make the 'app' folder the current working directory
WORKDIR /frontend
Expand All @@ -17,5 +17,5 @@ RUN npm run build

FROM cgr.dev/chainguard/nginx@sha256:9cbce3d5ee2bf696232931119919c2db19e7272cddb0fae0dc0602e78281b688
EXPOSE 8081
COPY /frontend/dist /var/lib/nginx/html
COPY --from=builder /frontend/dist /var/lib/nginx/html
COPY nginx.conf /etc/nginx/conf.d/ris-adm-vwv.conf

0 comments on commit e2343bb

Please sign in to comment.