shakecities/sites/Dockerfile
Nathan Woodburn 4dd4f876aa
Some checks failed
Build Docker / Build SLDs Image (push) Failing after 14s
Build Docker / Build Main Image (push) Successful in 18s
fix: Remove relative paths
2023-11-08 18:23:37 +11:00

16 lines
319 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
ENTRYPOINT ["python3"]
CMD ["sldserver.py"]
FROM builder as dev-envs