Spaces:
Running
Running
Download Dockerfile from LiquidAI/LFM2-WebGPU: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/LiquidAI/LFM2-WebGPU/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/LiquidAI/LFM2-WebGPU/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LiquidAI/LFM2-WebGPU/resolve/main/Dockerfile
228 Bytes
| FROM python:3.12-alpine | |
| RUN adduser -D -u 1000 appuser | |
| WORKDIR /app | |
| COPY --chown=1000:1000 static_server.py ./static_server.py | |
| COPY --chown=1000:1000 dist ./dist | |
| USER 1000 | |
| EXPOSE 7860 | |
| CMD ["python", "/app/static_server.py"] | |