Skip to content

Commit

Permalink
Ensure the stats are rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jun 20, 2024
1 parent e6a1195 commit fee8655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
outputs: type=docker,dest=/tmp/image.tar
cache-from: type=gha,ignore-error=true
cache-to: type=gha,mode=max,ignore-error=true
no-cache-filters: build
target: prod

- name: 'Upload build'
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.13.1-alpine3.18 as build
FROM node:20.13.1-alpine3.18 AS builder
WORKDIR /app

COPY package.json \
Expand All @@ -7,6 +7,8 @@ COPY package.json \
RUN npm ci --ignore-scripts --production
COPY observablehq.config.js observablehq.config.js
COPY src/ src/

FROM builder AS build
RUN npx observable build

FROM caddy AS prod
Expand Down

0 comments on commit fee8655

Please sign in to comment.