firewalletbrowser/Dockerfile
Nathan Woodburn 92f05992ab
All checks were successful
Build Docker / Build Image (push) Successful in 48s
fix: Add git to docker image
2025-01-28 17:33:14 +11:00

18 lines
335 B
Docker

FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
WORKDIR /app
COPY requirements.txt /app
RUN --mount=type=cache,target=/root/.cache/pip \
pip3 install -r requirements.txt
COPY . /app
# Add mount point for data volume
# VOLUME /data
RUN apk add git
ENTRYPOINT ["python3"]
CMD ["server.py"]
FROM builder as dev-envs