feat: Add initial watchonly server files
All checks were successful
Build Docker / BuildImage (push) Successful in 45s

This commit is contained in:
2024-06-03 12:22:28 +10:00
parent 353dc8319f
commit f9af1b2606
7 changed files with 516 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
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 ["main.py"]
FROM builder as dev-envs