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 442 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
  1. FROM python:3.11-slim
  2. ARG FUNCTION_DIR="/var/task/"
  3. ARG DEBIAN_FRONTEND="noninteractive"
  4. ENV PYTHONPATH=${FUNCTION_DIR}
  5. RUN apt update
  6. RUN apt install build-essential -y
  7. RUN pip install --upgrade pip wheel setuptools dvc==3.37.0
  8. RUN mkdir -p ${FUNCTION_DIR}
  9. COPY requirements.txt ${FUNCTION_DIR}
  10. RUN pip install -r ${FUNCTION_DIR}requirements.txt
  11. COPY . ${FUNCTION_DIR}
  12. WORKDIR ${FUNCTION_DIR}src
  13. EXPOSE 8000
  14. ENTRYPOINT [ "../run.sh" ]
Tip!

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

Comments

Loading...