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.
 
 
 
 
 
 

18 rindas
550 B

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