Do a couple small Dockerfile improvements
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
7b59d7db50
commit
2768cbe2af
|
@ -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 New Issue