Advertisement
kopyl

Untitled

Jun 10th, 2023
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. FROM public.ecr.aws/lambda/python:3.10.2023.05.27.23-x86_64
  2.  
  3. COPY onnx-root-usr /usr
  4.  
  5. RUN pip install numpy==1.24.3 && pip install numpy==1.24.3 && pip install onnxruntime==1.15.0 && \
  6. pip install opencv-python==4.7.0.72 && pip cache purge
  7.  
  8. COPY model_efficientnet_b3_nonhuman_included.onnx model_efficientnet_b3_nonhuman_included.onnx
  9. COPY onnx-inference-aws.py app.py
  10.  
  11.  
  12. CMD ["app.handler"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement