Fixed tiny docker issue

master
Jef Roosens 2021-03-13 21:54:38 +01:00
parent 13b1bba127
commit ad5bbc81be
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ RUN apk update && \
# Build the dependencies # Build the dependencies
# This is done separately to reduce average compile time # This is done separately to reduce average compile time
# Afterwards, we remove the dummy src directory # Afterwards, we remove the dummy src directory
COPY Cargo.toml Cargo.lock . COPY Cargo.toml Cargo.lock ./
RUN cargo build --release && \ RUN cargo build --release && \
rm src/*.rs rm src/*.rs

View File

@ -1,4 +1,4 @@
IMAGE := rust_api:latest IMAGE := rust-api:latest
shell := /bin/bash shell := /bin/bash