Skip to content

Commit

Permalink
curl dep for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofjoni committed Aug 13, 2023
1 parent b69299a commit 566385a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 566385a

Please sign in to comment.