Skip to content

Commit

Permalink
specify image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryBoot committed Nov 20, 2023
1 parent bbda499 commit 2c4d451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cgr.dev/chainguard/node:latest-dev as build
FROM cgr.dev/chainguard/node@sha256:4a8f2fb37f0d2b34460f1a86f106c504954917561a50af1fa310f615709079d1 as build

WORKDIR /a-block

Expand All @@ -11,7 +11,7 @@ COPY ./ ./.
RUN yarn build

# Use distroless
FROM cgr.dev/chainguard/nginx:latest
FROM cgr.dev/chainguard/nginx@sha256:3dd8fa303f77d7eb6ce541cb05009a5e8723bd7e3778b95131ab4a2d12fadb8f

# Copy built statc files to nginx www root
COPY --from=build /a-block/build/ /usr/share/nginx/html/.

0 comments on commit 2c4d451

Please sign in to comment.