this repo has no description
1# syntax=docker/dockerfile:1
2
3# --- Build stage ---
4FROM lumina-build-environment AS builder
5
6WORKDIR /build
7
8# Copy the project files excluding mise.toml
9COPY --exclude=mise.toml . .
10
11# Builds debug version
12RUN mkdir -p target/output && \
13 mise run build-server && \
14 cp ./target/debug/lumina-server ./target/output/;
15
16# --- Final runtime image ---
17FROM alpine:3.19
18RUN apk add --no-cache ca-certificates
19WORKDIR /app
20COPY --from=builder /build/target/output/lumina-server /app/lumina-server
21COPY assets /app/assets
22EXPOSE 8085
23CMD ["/app/lumina-server"]