We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c35e1d commit ca69ce2Copy full SHA for ca69ce2
Dockerfile
@@ -7,10 +7,13 @@ WORKDIR /usr/src/pastemp
7
# Caches build dependencies by writing placeholder lib and main files.
8
COPY Cargo.toml Cargo.lock ./
9
10
+RUN cargo build --release --locked
11
+
12
COPY src ./src
13
COPY config.toml ./
14
+COPY templates ./templates
15
-RUN cargo install --path .
16
+RUN cargo install --path . --offline
17
18
FROM debian:buster-slim
19
0 commit comments