You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 503 B

12345678910111213
  1. FROM python:3.6
  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 --upgrade pip
  8. RUN python -m pip install -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"]