mtrax-v2 / Dockerfile
arvsiv's picture
Update Dockerfile
93ff1af verified
Raw
History Blame Contribute Delete
398 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
curl \
unzip \
nodejs \
npm \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN reflex init
EXPOSE 7860
CMD ["reflex", "run", "--env", "prod", "--backend-host", "0.0.0.0", "--backend-port", "7860", "--frontend-port", "7860"]