diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..d0b62c5 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +/target +.idea +.env +.cargo +*.dump \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2a3ba13..d0b62c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target .idea .env -.cargo \ No newline at end of file +.cargo +*.dump \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5f8100a..05e551e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM rustlang/rust:nightly as build +FROM rustlang/rust:nightly COPY . . RUN cargo build --release -CMD ["sh", "-c", "ROCKET_PORT=$PORT ROCKET_KEEP_ALIVE=0 ./target/release/katbin"] \ No newline at end of file +CMD ["sh", "-c", "ROCKET_KEEP_ALIVE=0 ./target/release/katbin"] \ No newline at end of file