Skip to content

Commit 45a72d3

Browse files
committed
fix: can't use it in alpine
1 parent ab1e1ba commit 45a72d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Containerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
FROM rust:alpine AS builder
22
WORKDIR /app
33
COPY . .
4+
RUN apk update && apk add openssl libssl3
45
RUN cargo install --path .
56

67
FROM alpine:latest
78
LABEL maintainer="Jetsung Chan<[email protected]>"
89

910
WORKDIR /app
11+
1012
COPY --from=builder /usr/local/cargo/bin/filetas /usr/local/bin/filetas
1113
COPY --from=builder /app/static /app/static
1214
COPY --from=builder /app/templates /app/templates
1315

16+
RUN apk update && apk add openssl libssl3
17+
1418
EXPOSE 8000
1519
CMD [ "filetas" ]

0 commit comments

Comments
 (0)