Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Dockerfile 418 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  1. FROM python:3.10-slim
  2. RUN apt-get update && apt-get install -y --no-install-recommends \
  3. libgl1-mesa-glx \
  4. libglib2.0-0
  5. RUN python -m pip install --upgrade pip
  6. WORKDIR /code
  7. COPY ./requirements.txt /code/requirements.txt
  8. RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
  9. COPY ./app /code/app
  10. EXPOSE 9090
  11. CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "9090"]
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...