Dockerfile 287 B

123456789101112131415
  1. FROM python:3.11.1-slim
  2. FROM postgres
  3. FROM ubuntu
  4. WORKDIR /app
  5. COPY . /app
  6. ENV PYTHONDONTWRITEBYTECODE 1
  7. ENV PYTHONUNBUFFERED 1
  8. RUN apt update -y && apt install python3-pip -y && pip3 install --upgrade pip && pip3 install --upgrade -r /app/requirements.txt
  9. CMD ["bash", "start.sh"]