Do a couple small Dockerfile improvements
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Sijmen 2024-01-05 23:12:34 +01:00
parent 7b59d7db50
commit 2768cbe2af
Signed by: vijfhoek
GPG key ID: DAF7821E067D9C48

View file

@ -1,9 +1,9 @@
FROM rust:alpine as builder FROM rust:alpine AS builder
WORKDIR /usr/src/empede WORKDIR /usr/src/empede
RUN apk add --no-cache build-base RUN apk add --no-cache build-base
COPY ./src ./src COPY ./src ./src
COPY ./templates ./templates COPY ./templates ./templates
COPY ./Cargo.* ./ COPY ./Cargo.toml ./Cargo.lock ./
RUN cargo install --path . RUN cargo install --path .
FROM alpine:latest FROM alpine:latest