default major version docker
This commit is contained in:
parent
716389f1ab
commit
2ce0307b3c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
ARG RUST_VERSION=1.98.1
|
ARG RUST_VERSION=1
|
||||||
|
|
||||||
# ---- Base: Rust toolchain + build tools ----
|
# ---- Base: Rust toolchain + build tools ----
|
||||||
FROM rust:${RUST_VERSION}-slim-bookworm AS chef
|
FROM rust:${RUST_VERSION}-slim-bookworm AS chef
|
||||||
|
|
@ -37,7 +37,7 @@ RUN --mount=type=cache,target=/root/.cache/trunk \
|
||||||
trunk build --release --locked
|
trunk build --release --locked
|
||||||
|
|
||||||
# ---- Runtime: static files served by nginx ----
|
# ---- Runtime: static files served by nginx ----
|
||||||
FROM nginx:1.29-alpine AS runtime
|
FROM nginx:1-alpine AS runtime
|
||||||
|
|
||||||
COPY <<'EOF' /etc/nginx/conf.d/default.conf
|
COPY <<'EOF' /etc/nginx/conf.d/default.conf
|
||||||
server {
|
server {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue