Skip to content
Snippets Groups Projects
Select Git revision
  • 38fbe1225757e0c2981a0e9ec040346ad143d956
  • master default
  • renovate/fastapi-0.x
  • v2.21.0
  • v2.20.1
  • v2.20.0
  • v2.19.0
  • v2.18.1
  • v2.18.0
  • v2.17.0
  • v2.16.0
  • v2.15.0
  • v2.14.0
  • v2.13.1
  • v2.13.0
  • v2.12.0
  • v2.11.0
  • v2.10.0
  • v2.9.0
  • v2.8.0
  • v2.7.0
  • v2.6.0
  • v2.5.0
23 results

Dockerfile

Blame
  • Dockerfile 418 B
    FROM python:3.9-alpine
    
    RUN apk add --no-cache openssl-dev libffi-dev gcc musl-dev make
    
    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" ]