Files
hnsau/Dockerfile
Nathan Woodburn 4a577349f5
All checks were successful
Build Docker / Build Image (push) Successful in 22s
feat: Add pins store
2024-02-12 17:51:10 +11:00

17 lines
314 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 /mnt
ENTRYPOINT ["python3"]
CMD ["main.py"]
FROM builder as dev-envs