diff --git a/backend/Dockerfile b/backend/Dockerfile index 6ef9248a..3b412565 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -4,8 +4,12 @@ COPY . . ENV SQLX_OFFLINE=true RUN cargo install --path . --profile release +# actual running image FROM debian:bullseye-slim -# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/* + +# install http dependencies (through curl) +RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* + COPY --from=builder /usr/local/cargo/bin/mensa-app-backend /usr/local/bin/mensa-app-backend EXPOSE 80/tcp