mirror of https://gitlab.com/famedly/conduit
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
250 B
Plaintext
10 lines
250 B
Plaintext
4 years ago
|
FROM valkum/docker-rust-ci:latest
|
||
|
WORKDIR /build
|
||
|
|
||
|
COPY . .
|
||
|
RUN cargo build
|
||
|
|
||
|
ENV SERVER_NAME=localhost
|
||
|
EXPOSE 14004 8448
|
||
|
|
||
|
CMD sed "s/server_name: your.server.name/server_name: ${SERVER_NAME}/g" Rocket-example.toml Rocket.toml && ./target/debug/conduit
|