Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

14 rindas
537 B

  1. FROM python:3.8-slim
  2. LABEL maintainer="LessPass <contact@lesspass.com>"
  3. LABEL name="LessPass Backend"
  4. RUN mkdir /opt/backend
  5. WORKDIR /opt/backend
  6. COPY requirements.txt /opt/backend
  7. RUN python -m pip install --no-cache-dir --upgrade pip
  8. RUN python -m pip install --no-cache-dir -r requirements.txt
  9. COPY . /opt/backend
  10. RUN python --version
  11. EXPOSE 8000
  12. ENTRYPOINT ["/opt/backend/entrypoint.sh"]
  13. CMD ["gunicorn", "lesspass.wsgi:application", "--access-logfile", "-", "--error-logfile", "-", "--log-level", "debug", "--bind", "0.0.0.0:8000"]