Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/ai-bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ARG PNPM_VERSION
RUN apt-get update && apt-get install -y python3 build-essential
RUN npm install -g pnpm@${PNPM_VERSION}
WORKDIR /boxel
# This image never launches a browser, so skip Puppeteer's Chrome download. Its
# extractor needs a native tar/unzip binary that node:slim doesn't ship.
ENV PUPPETEER_SKIP_DOWNLOAD=true
COPY . .
RUN pnpm install --frozen-lockfile

Expand Down
3 changes: 3 additions & 0 deletions packages/bot-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ARG PNPM_VERSION
RUN apt-get update && apt-get install -y python3 build-essential
RUN npm install -g pnpm@${PNPM_VERSION}
WORKDIR /boxel
# This image never launches a browser, so skip Puppeteer's Chrome download. Its
# extractor needs a native tar/unzip binary that node:slim doesn't ship.
ENV PUPPETEER_SKIP_DOWNLOAD=true
COPY . .
RUN pnpm install --frozen-lockfile

Expand Down
3 changes: 3 additions & 0 deletions packages/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
RUN apt-get update && apt-get install -y postgresql
RUN npm install -g pnpm@${PNPM_VERSION}
WORKDIR /boxel
# This image never launches a browser, so skip Puppeteer's Chrome download. Its
# extractor needs a native tar/unzip binary that node:slim doesn't ship.
ENV PUPPETEER_SKIP_DOWNLOAD=true

# Cache-friendly dependency fetch: this layer only re-runs when the lockfile
# (or patches it references) changes, not on every source edit. `pnpm fetch`
Expand All @@ -20,4 +23,4 @@

WORKDIR /boxel/packages/postgres

CMD node ./scripts/fix-migration-names.ts && ./node_modules/.bin/node-pg-migrate --check-order false --migrations-table migrations up && sleep infinity

Check warning on line 26 in packages/postgres/Dockerfile

View workflow job for this annotation

GitHub Actions / Build pg-migration Docker image / Build

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/

Check warning on line 26 in packages/postgres/Dockerfile

View workflow job for this annotation

GitHub Actions / Build pg-migration Docker image / Build

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
Loading