Skip to content

Commit 07a636d

Browse files
committed
added dockerfile
Made this for a docker setup to host this wonderful app on ScaDS.AI Living Lab Launchpad / Digital Living Lab.
1 parent 705ad8d commit 07a636d

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.venv
2+
__pycache__
3+
*.pyc
4+
*.pyo
5+
*.pyd
6+
tests
7+
.git

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM python:3.11-slim
2+
3+
ENV PYTHONDONTWRITEBYTECODE=1 \
4+
PYTHONUNBUFFERED=1
5+
6+
WORKDIR /app
7+
8+
RUN pip install --no-cache-dir uv
9+
10+
COPY . /app
11+
12+
RUN uv sync --no-dev
13+
14+
EXPOSE 5172
15+
16+
CMD ["sh", "-c", "cd examples/mnist && uv run vest data.csv --host 0.0.0.0 --port 5172 --image-path ./images"]

0 commit comments

Comments
 (0)