Add required packages to the docker image

This commit is contained in:
Ivan R. 2024-11-01 15:56:01 +05:00
parent b61bd503e6
commit f65ae78eb9
Signed by: lumin
GPG key ID: 9B2CA5D12844D4D0

View file

@ -1,10 +1,12 @@
FROM rust:1.82-slim-bookworm AS builder
RUN apt update && apt install -y pkg-config libssl-dev
WORKDIR /usr/src/comfycamp
COPY . .
RUN cargo install --path .
FROM debian:bookworm-slim
RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/comfycamp
RUN mkdir -p src/web