Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker run -it -v /var/www:/var/www --name epracas-back -p 8000:8000 alpine
- apk update upgrade
- apk add --no-cache python3 uwsgi python3-dev musl-dev py3-pip gcc linux-headers postgresql-dev git make
- pip3 install virtualenv
- virtualenv epracas-venv
- sourcer epracas-venv/bin/activate
- docker run -it --rm --name epracas-db -p 5432:5432 -e POSTGRES_DB="epracas_db" -e POSTGRES_USER="epracas" -e POSTGRES_PASSWORD="epracas123" postgres:9.6
- pip3 install -r requirements.txt
- apk add --no-cache --virtual=build-dependencies wget ca-certificates
- apk add pip
Add Comment
Please, Sign In to add comment