clacksme/Dockerfile
Morgan McMillian 6b77d41da2
Some checks failed
dreamfall/clacksme/pipeline/head There was a failure building this commit
initial commit
2022-12-28 07:44:37 -08:00

23 lines
414 B
Docker

FROM python:3.11-slim-bullseye AS builder
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
WORKDIR /usr/src/app
COPY . .
RUN pip wheel . --wheel-dir /wheels --find-links /wheels
FROM python:3.11-slim-bullseye AS run
COPY --from=builder /wheels /wheels
RUN pip --no-cache-dir install --find-links /wheels --no-index clacksme
VOLUME /data
WORKDIR /data
CMD ["clacksme","-s","/data/store.db"]