for pymysql module install

This commit is contained in:
soou 2018-11-28 12:00:04 +09:00
parent 5e9a8d7da8
commit 1f82754fe5
1 changed files with 2 additions and 0 deletions

View File

@ -4,8 +4,10 @@ RUN adduser -D microblog
WORKDIR /home/microblog
RUN apk add --update --no-cache gcc libc-dev libffi-dev libressl-dev
COPY requirements.txt requirements.txt
RUN python -m venv venv
RUN venv/bin/pip install --upgrade pip
RUN venv/bin/pip install -r requirements.txt
RUN venv/bin/pip install gunicorn pymysql