Dockerfile 454 B

12345678910111213
  1. FROM python:3.10
  2. WORKDIR /app
  3. ENV DOCKERIZE_VERSION v0.6.1
  4. RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
  5. && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
  6. && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
  7. COPY . .
  8. RUN pip install -r requirements/dev.txt -r requirements/test.txt &&\
  9. pip install mysqlclient psycopg2