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 800 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
22
23
24
  1. FROM python:3.7-slim-stretch
  2. # update apk repo
  3. #RUN echo "http://dl-4.alpinelinux.org/alpine/v3.7/main" >> /etc/apk/repositories && \
  4. # echo "http://dl-4.alpinelinux.org/alpine/v3.7/community" >> /etc/apk/repositories
  5. # install chromedriver
  6. #RUN apk update
  7. #RUN apk add chromium chromium-chromedriver
  8. RUN apt-get update
  9. RUN apt-get -y install wget gnupg gnupg2 sudo
  10. RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
  11. RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
  12. RUN apt-get update
  13. RUN apt-get -y install google-chrome-stable
  14. # files to copy
  15. COPY requirements.txt requirements.txt
  16. # sanity check
  17. RUN ls
  18. # install python modules
  19. RUN pip install -r requirements.txt
Tip!

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

Comments

Loading...