From 2768cbe2afed0671dc8519fb395791f225c4169a Mon Sep 17 00:00:00 2001 From: Sijmen Date: Fri, 5 Jan 2024 23:12:34 +0100 Subject: [PATCH] Do a couple small Dockerfile improvements --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d008bbc..f78c7e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM rust:alpine as builder +FROM rust:alpine AS builder WORKDIR /usr/src/empede RUN apk add --no-cache build-base COPY ./src ./src COPY ./templates ./templates -COPY ./Cargo.* ./ +COPY ./Cargo.toml ./Cargo.lock ./ RUN cargo install --path . FROM alpine:latest