diff --git a/Containerfile b/Containerfile index fb4e656..b737554 100644 --- a/Containerfile +++ b/Containerfile @@ -1,15 +1,19 @@ FROM rust:alpine AS builder WORKDIR /app COPY . . +RUN apk update && apk add openssl libssl3 RUN cargo install --path . FROM alpine:latest LABEL maintainer="Jetsung Chan" WORKDIR /app + COPY --from=builder /usr/local/cargo/bin/filetas /usr/local/bin/filetas COPY --from=builder /app/static /app/static COPY --from=builder /app/templates /app/templates +RUN apk update && apk add openssl libssl3 + EXPOSE 8000 CMD [ "filetas" ]