test project

This commit is contained in:
2023-09-08 10:54:04 +04:00
parent 85bc454d58
commit f68a03acb4
21 changed files with 673 additions and 1 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM python:3.9.4-slim
# set work directory
WORKDIR /app
# set env variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apt-get update
RUN apt-get install -y python3-dev gcc libc-dev libffi-dev
RUN apt-get -y install libpq-dev gcc
# install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# copy project
COPY . .