Commit f8897cec authored by Raphael Beer's avatar Raphael Beer

Change: bump python version to 3.7

parent 414acc58
FROM python:3.5.7-slim-buster FROM python:3.7-slim-buster
RUN mkdir /app RUN mkdir /app
ADD . /app ADD . /app
......
...@@ -8,7 +8,7 @@ echo "OK" ...@@ -8,7 +8,7 @@ echo "OK"
if [ ! -f .venv/bin/activate ]; then if [ ! -f .venv/bin/activate ]; then
echo "Creating new venv in: ./.venv" echo "Creating new venv in: ./.venv"
virtualenv ./.venv python3 -m venv ./.venv
fi fi
echo "Loading virtualenv: ./.venv" echo "Loading virtualenv: ./.venv"
......
#!/usr/bin/env bash #!/usr/bin/env bash
source ./_venv source ./bin/_venv
echo "Installing dependencies..." echo "Installing dependencies..."
pip3 install -r requirements.txt --no-cache-dir pip3 install -r requirements.txt --no-cache-dir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment