Fixed tiny docker issue
This commit is contained in:
parent
13b1bba127
commit
ad5bbc81be
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ RUN apk update && \
|
|||
# Build the dependencies
|
||||
# This is done separately to reduce average compile time
|
||||
# Afterwards, we remove the dummy src directory
|
||||
COPY Cargo.toml Cargo.lock .
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
RUN cargo build --release && \
|
||||
rm src/*.rs
|
||||
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
IMAGE := rust_api:latest
|
||||
IMAGE := rust-api:latest
|
||||
shell := /bin/bash
|
||||
|
||||
|
||||
|
|
|
|||
Reference in a new issue