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
|
# 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
|
||||||
|
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
IMAGE := rust_api:latest
|
IMAGE := rust-api:latest
|
||||||
shell := /bin/bash
|
shell := /bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue