vikba commited on
Commit
6a963d0
·
verified ·
1 Parent(s): c82d61a

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -15
Dockerfile DELETED
@@ -1,15 +0,0 @@
1
- # One image for a VPS and for a Hugging Face Docker Space (which runs as uid 1000).
2
- FROM python:3.12-slim
3
- RUN useradd -m -u 1000 user
4
- USER user
5
- WORKDIR /app
6
- ENV PATH=/home/user/.local/bin:$PATH \
7
- FIBERPOSE_MODELS_DIR=/app/checkpoints \
8
- GRADIO_SERVER_NAME=0.0.0.0 \
9
- GRADIO_SERVER_PORT=7860
10
- COPY --chown=user . .
11
- RUN pip install --no-cache-dir ".[web]"
12
- # Analyse the example once so the numba kernels are compiled and cached in the image.
13
- RUN python -c "import imageio.v3 as iio, fiberpose; from fiberpose.paths import EXAMPLE_IMAGE_PATH as p; fiberpose.analyze(iio.imread(p))"
14
- EXPOSE 7860
15
- CMD ["fiberpose", "--web"]