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 365 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
  1. FROM python:3.8-slim
  2. WORKDIR /app
  3. ADD . /app
  4. RUN apt-get update && apt-get install -y libgomp1
  5. RUN echo y|apt-get install gcc python3-dev
  6. RUN pip install -r requirements.txt
  7. # COPY diamond_predict_api.pkl /app/diamond_predict_api.pkl
  8. # COPY diamond_predict_api.py /app/diamond_predict_api.py
  9. EXPOSE 8000
  10. # CMD ["ls"]
  11. CMD ["python", "diamond_predict_api.py"]
Tip!

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

Comments

Loading...