ci: 👷 Containerize
This commit is contained in:
parent
da2b65e7dc
commit
4178133312
1 changed files with 15 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM linuxcontainers/debian-slim:latest
|
||||
|
||||
#COPY Cargo.toml ./
|
||||
#COPY src ./src
|
||||
COPY target/release/acapair_chat_api .
|
||||
#RUN apk add --no-cache musl-dev curl gcc
|
||||
# RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
# ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
# RUN cargo build --release
|
||||
# RUN cp /target/release/acapair_chat_api .
|
||||
# RUN cargo clean
|
||||
# RUN rustup self uninstall -y
|
||||
# RUN apk del musl-dev curl gcc
|
||||
# RUN rm Cargo.lock
|
||||
CMD [ "./acapair_chat_api"]
|
Loading…
Add table
Add a link
Reference in a new issue