123456789101112131415161718192021222324 |
- FROM python:3.10
- ENV DOCKERIZE_VERSION v0.6.1
- RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
- && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
- && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
- ENV PYTHONUNBUFFERED 1
- ENV PYTHONPATH /replica
- RUN mkdir /replica
- COPY ./requirements/ /replica/requirements
- #COPY pyproject.toml pyproject.toml
- RUN pip install -r /replica/requirements/dev.txt -r /replica/requirements/test.txt && pip install psycopg2-binary redis
- #RUN pip install poetry
- #RUN poetry install
- #RUN poetry config virtualenvs.create false
- #RUN pip install psycopg2-binary redis
- COPY . /replica/
- ADD integration_tests/manage.py /replica/
- WORKDIR /replica/
|