fix dockerfile
This commit is contained in:
parent
d8e53407bc
commit
3672e01944
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ FROM rust:alpine AS dev-container
|
||||||
|
|
||||||
RUN apk add --no-cache protobuf-dev git musl-dev lld openssl-dev openssl-libs-static
|
RUN apk add --no-cache protobuf-dev git musl-dev lld openssl-dev openssl-libs-static
|
||||||
|
|
||||||
FROM dev-container as builder
|
FROM dev-container AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
@ -36,4 +36,4 @@ COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/backend_server
|
||||||
ENTRYPOINT ["/backend_server_secure"]
|
ENTRYPOINT ["/backend_server_secure"]
|
||||||
|
|
||||||
# make sure the final output container is the dev container so that we can use it from the devcontainer.json
|
# make sure the final output container is the dev container so that we can use it from the devcontainer.json
|
||||||
FROM final as dev-container
|
FROM dev-container AS final
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue