12 lines
212 B
Docker
12 lines
212 B
Docker
FROM rust:1.62.1-slim-buster as builder
|
|
|
|
RUN apt-get update && apt-get upgrade -y
|
|
RUN apt-get install libssl-dev
|
|
RUN apt-get install -y -q build-essentials curl
|
|
|
|
COPY . .
|
|
|
|
RUN cargo build
|
|
|
|
CMD [ "cargo", "run" ]
|