mirror of https://github.com/ChillFish8/lust.git
Fix dockerfile build
This commit is contained in:
parent
fb8f1a9daf
commit
db216c06ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue