Skip to content
Snippets Groups Projects
Dockerfile 470 B
Newer Older
  • Learn to ignore specific revisions
  • FROM alpine:3.9
    
    Varac's avatar
    Varac committed
    
    
    Varac's avatar
    Varac committed
    LABEL version="4.0"
    
    Varac's avatar
    Varac committed
    LABEL vendor1="Greenhost"
    
    RUN apk --no-cache add \
    
      chromium \
      chromium-chromedriver \
    
    Varac's avatar
    Varac committed
      curl \
    
      # needed for installing pycurl python module
      curl-dev \
    
    Varac's avatar
    Varac committed
      gcc \
    
      libffi-dev \
      make \
      musl-dev \
    
    Varac's avatar
    Varac committed
      openssh-client \
    
      openssl-dev \
    
      python3-dev \
      rsync
    
    Varac's avatar
    Varac committed
    
    
    COPY ./requirements.txt /requirements.txt
    
    RUN pip3 install -r /requirements.txt
    
    RUN ln -s /usr/bin/python3 /usr/bin/python