for pymysql module install
This commit is contained in:
parent
5e9a8d7da8
commit
1f82754fe5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue