Add deploy CI
continuous-integration/drone/push Build is passing

This commit is contained in:
michal committed 2023-01-17 21:47:43 +01:00
1 parent 80a09c8907
commit e2efba4cc2
3 files changed
+31 -1

No files matched your search

+7 -1
View File
@@ -3,9 +3,15 @@ EXPOSE 8000
WORKDIR /app
COPY poetry.lock pyproject.toml ./
RUN pip3 install \
RUN apt update && apt install -y -qq \
python3-dev \
default-libmysqlclient-dev \
build-essential \
&& \
pip3 install \
poetry==1.3.0 \
&& \
poetry add mysqlclient && \
poetry install
COPY . /app