Do a couple small Dockerfile improvements
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
7b59d7db50
commit
2768cbe2af
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue