Fix dockerfile build

This commit is contained in:
Harrison Burt 2022-03-31 00:28:11 +01:00
parent fb8f1a9daf
commit db216c06ab
1 changed files with 3 additions and 0 deletions

View File

@ -3,7 +3,10 @@ FROM rust:slim-buster as build
WORKDIR /app
COPY . /app
USER root
RUN apt-get update
RUN apt-get install libssl-dev pkg-config -y
RUN cargo build --release
# Copy the binary into a new container for a smaller docker image