docs+docker: README, CLAUDE.md, Dockerfile/compose (8084), M1 validation gate
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM python:3.12-slim
|
||||
WORKDIR /srv
|
||||
COPY shared/ ./shared/
|
||||
COPY apps/trip-cluster/ ./apps/trip-cluster/
|
||||
RUN pip install --no-cache-dir ./shared ./apps/trip-cluster
|
||||
ENV DATA_DIR=/data
|
||||
EXPOSE 8084
|
||||
WORKDIR /srv/apps/trip-cluster
|
||||
CMD ["python", "categorize.py", "serve"]
|
||||
@@ -11,3 +11,6 @@ dependencies = ["photoflow", "flask==3.1.0", "requests==2.32.3", "Pillow==11.0.0
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["app*"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"app" = ["templates/*.html", "static/*.js"]
|
||||
|
||||
Reference in New Issue
Block a user