Skip to content

Commit a656894

Browse files
committed
chore(build, api, web-scraper): bump base Docker images
1 parent 3caab80 commit a656894

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
FROM rust:1.82-slim-bookworm AS builder
1+
FROM rust:1.83-slim-bookworm AS builder
22
WORKDIR /app
33

44
# Install dependencies.
5-
RUN set -x && apt-get update && apt-get install -y protobuf-compiler
6-
7-
# Copy manifest and fetch dependencies.
8-
COPY ["./Cargo.lock", "./Cargo.toml", "./"]
9-
RUN set -x && cargo fetch
5+
RUN set -x && apt-get update && apt-get install -y protobuf-compiler curl
106

117
# Copy source code and build.
128
COPY [".", "./"]

Dockerfile.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ retrack.toml
1919
rustfmt.toml
2020

2121
# Path that should be ignored by api Docker image
22-
/components
22+
/components/retrack-web-scraper
2323
*.json

Dockerfile.web-scraper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM node:22-alpine3.20 AS builder
1+
FROM --platform=$BUILDPLATFORM node:22-alpine3.21 AS builder
22
WORKDIR /app
33

44
# Copy workspace root `package.json` and `package-lock.json` files,
@@ -12,7 +12,7 @@ COPY ["./components/retrack-web-scraper", "./components/retrack-web-scraper"]
1212
RUN set -x && npm test --ws
1313
RUN set -x && npm run build --ws
1414

15-
FROM node:22-alpine3.20
15+
FROM node:22-alpine3.21
1616
ENV NODE_ENV=production \
1717
RETRACK_WEB_SCRAPER_BROWSER_EXECUTABLE_PATH="/usr/bin/chromium-browser" \
1818
DISPLAY=:99

0 commit comments

Comments
 (0)