Skip to content

Commit 8910e68

Browse files
feat(docker): update dep (#1096)
## Info - use uppercase for `as` keyword - update to use lasted version - remove mention of `./Cargo.lock` because it's doesn't exist ### PR Checklist - [x] The PR title follows [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) - [x] Is this closing an open issue? If so, link it, else include a proper description of the changes and rason behind them. - [x] Docker image build without warning.
1 parent a916ecf commit 8910e68

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

api/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# This Dockerfile is adapted from https://whitfin.io/blog/speeding-up-rust-docker-builds/
22

3-
FROM rust:1.83 as build
3+
FROM rust:bookworm AS build
44

55
# create a new empty shell project
66
RUN USER=root cargo new --bin registry_api
77
WORKDIR /registry_api
88

99
# copy over your manifests
10-
COPY ./Cargo.lock ./Cargo.lock
1110
COPY ./Cargo.toml ./Cargo.toml
1211

1312
# this build step will cache your dependencies
@@ -24,7 +23,7 @@ RUN rm ./target/release/deps/registry_api*
2423
RUN cargo build --release
2524

2625
# our final base
27-
FROM debian:bookworm-20230703-slim
26+
FROM debian:bookworm-20250428-slim
2827

2928
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
3029

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM denoland/deno:alpine-2.0.5
1+
FROM denoland/deno:alpine-2.3.1
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)