update Dockerfile
This commit is contained in:
parent
385e846e91
commit
92810ab3eb
@ -6,7 +6,6 @@ COPY . .
|
|||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
|
COPY --from=build /usr/local/cargo/bin/school_app_api /usr/local/bin/school_app_api
|
||||||
COPY --from=builder /user/local/cargo/bin/school_app_api /usr/local/bin/school_app_api
|
|
||||||
CMD ["school_app_api"]
|
CMD ["school_app_api"]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user