AdaptiveUI_UX / Dockerfile
saivivek6's picture
Deploy vivek app to Space: Vue UI (bundled dist), streaming widgets, JSON schema renderer
c97e8a9
raw
history blame contribute delete
331 Bytes
FROM python:3.12-slim
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
COPY --chown=user ./vivek/requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY --chown=user ./vivek /app
ENV PORT=7860
EXPOSE 7860
CMD ["python", "app.py"]