Files
gitnow/Dockerfile.release
kjuulh b8424d595b
Some checks failed
continuous-integration/drone/push Build encountered an error
Release / release (push) Failing after 6s
fix: install mise to /usr/local/bin in release Dockerfile
Use MISE_INSTALL_PATH to place mise on the default PATH, fixing
"mise: not found" in Docker builds.
2026-03-20 15:31:01 +01:00

21 lines
379 B
Docker

FROM debian:trixie-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Install mise
ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
RUN curl https://mise.run | sh
WORKDIR /build
COPY mise.toml .
RUN mise trust && mise install
COPY . .
ENTRYPOINT ["mise", "run"]
CMD ["release"]