Dockerfile.Master 890 B

1234567891011121314151617181920212223242526
  1. FROM python:3.10
  2. ENV DOCKERIZE_VERSION v0.6.1
  3. RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
  4. && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
  5. && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
  6. ENV PYTHONUNBUFFERED 1
  7. ENV PYTHONPATH /master
  8. RUN mkdir /master
  9. COPY ./requirements/ /master/requirements
  10. #COPY pyproject.toml pyproject.toml
  11. RUN pip install -r /master/requirements/dev.txt -r /master/requirements/test.txt && pip install psycopg2-binary redis
  12. #RUN pip install poetry
  13. #RUN poetry config virtualenvs.create false
  14. #RUN poetry install && pip install psycopg2-binary redis
  15. COPY . /master/
  16. ADD integration_tests/setup.cfg /master/
  17. ADD integration_tests/run_integration_tests.sh /master/
  18. RUN chmod +x /master/run_integration_tests.sh
  19. WORKDIR /master/