tb3 / Dockerfile
information-technology's picture
Update Dockerfile
c290adc verified
raw
history blame contribute delete
289 Bytes
FROM python:3.12
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --upgrade pip setuptools wheel \
&& pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
EXPOSE 7860
CMD ["longflow", "start", "--host", "0.0.0.0", "--port", "7860"]