Skip to content

Commit ca69ce2

Browse files
committed
ci: fix dockerfile
1 parent 2c35e1d commit ca69ce2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ WORKDIR /usr/src/pastemp
77
# Caches build dependencies by writing placeholder lib and main files.
88
COPY Cargo.toml Cargo.lock ./
99

10+
RUN cargo build --release --locked
11+
1012
COPY src ./src
1113
COPY config.toml ./
14+
COPY templates ./templates
1215

13-
RUN cargo install --path .
16+
RUN cargo install --path . --offline
1417

1518
FROM debian:buster-slim
1619

0 commit comments

Comments
 (0)