Do a couple small Dockerfile improvements
continuous-integration/drone/push Build was killed Details

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
1 changed files with 2 additions and 2 deletions

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