Skip to content
Snippets Groups Projects
Dockerfile 351 B
Newer Older
  • Learn to ignore specific revisions
  • Tobias Ullerich's avatar
    Tobias Ullerich committed
    FROM python:3-buster
    
    RUN pip install pipenv
    COPY src /opt/StorageLeaf/src
    COPY docs /opt/StorageLeaf/docs
    COPY Pipfile /opt/StorageLeaf
    
    WORKDIR /opt/StorageLeaf
    RUN pipenv install
    RUN ln -s $(pipenv --venv) /opt/StorageLeaf/mypipenv
    
    WORKDIR /opt/StorageLeaf/src
    CMD [ "/opt/StorageLeaf/mypipenv/bin/python", "/opt/StorageLeaf/src/StorageLeaf.py" ]