Add required packages to the docker image
This commit is contained in:
parent
b61bd503e6
commit
f65ae78eb9
1 changed files with 2 additions and 0 deletions
|
@ -1,10 +1,12 @@
|
||||||
FROM rust:1.82-slim-bookworm AS builder
|
FROM rust:1.82-slim-bookworm AS builder
|
||||||
|
RUN apt update && apt install -y pkg-config libssl-dev
|
||||||
|
|
||||||
WORKDIR /usr/src/comfycamp
|
WORKDIR /usr/src/comfycamp
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
|
RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /usr/src/comfycamp
|
WORKDIR /usr/src/comfycamp
|
||||||
RUN mkdir -p src/web
|
RUN mkdir -p src/web
|
||||||
|
|
Loading…
Reference in a new issue