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 557 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.8-slim-buster
  2. RUN apt update -y && apt install awscli -y
  3. WORKDIR /app
  4. COPY . /app
  5. RUN apt-get update && \
  6. apt-get install -y curl
  7. RUN pip install -r requirements.txt
  8. RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz
  9. RUN mkdir -p /usr/local/gcloud \
  10. && tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz \
  11. && /usr/local/gcloud/google-cloud-sdk/install.sh
  12. ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
  13. CMD ["bash", "kill_docker.sh"]
  14. CMD ["python3", "app.py"]
Tip!

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

Comments

Loading...