FIX: Added requirements to docker image, added environment variables

pull/3/head
Kamal Curi 3 years ago
parent fc413e2639
commit 4f5c7981fd

@ -3,6 +3,9 @@ FROM python:3.8-alpine3.13
RUN apk add --update bash
RUN apk add --update python3
RUN apk add --update mariadb-dev
RUN apk add --update re2
RUN apk add --update re2-dev
RUN apk add --update git
RUN apk add --no-cache --virtual .build-deps python3-dev build-base linux-headers gcc
RUN pip3 install --upgrade pip

@ -21,6 +21,7 @@ services:
command: make production
environment:
DISCORD_BOT_TOKEN: $DISCORD_BOT_TOKEN
OPENWEATHER_API_TOKEN: $OPENWEATHER_API_TOKEN
MYSQL_HOST: $MYSQL_HOST
MYSQL_PORT: $MYSQL_PORT
MYSQL_DATABASE: $MYSQL_DATABASE

@ -1,4 +1,5 @@
discord.py==1.7.3
mysqlclient==2.1.1
SQLAlchemy==1.4.40
pyre2==0.3.6
Cython
discord.py
mysqlclient
SQLAlchemy
pyre2
Loading…
Cancel
Save