LFM2-WebGPU / Dockerfile
mlabonne's picture
Serve prebuilt WebGPU app with Docker
895dc73
Raw
History Blame Contribute Delete
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"]