This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:10-slim | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
gcc make python3 python3-dev python3-pip | |
RUN pip3 install setuptools wheel | |
RUN pip3 install uvicorn starlette | |
COPY app.py app.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir ~/.venv | |
python3 -m venv ~/.virtualenvs/venv | |
~/.virtualenvs/venv/bin/pip install virtualenvwrapper | |
if [ -n "`$SHELL -c 'echo $ZSH_VERSION'`" ]; then | |
config=~/.zshrc | |
elif [ -n "`$SHELL -c 'echo $BASH_VERSION'`" ]; then | |
config=~/.bashrc |
OlderNewer