|
|
@@ -1,7 +1,8 @@ |
|
|
|
FROM python:3.6 |
|
|
|
|
|
|
|
MAINTAINER "LessPass <contact@lesspass.com>" |
|
|
|
|
|
|
|
LABEL name="LessPass Backend" |
|
|
|
LABEL maintainer="LessPass <contact@lesspass.com>" |
|
|
|
|
|
|
|
RUN mkdir /app |
|
|
|
WORKDIR /app |
|
|
@@ -12,6 +13,8 @@ RUN python -m pip install -r requirements.txt |
|
|
|
COPY . /app |
|
|
|
RUN python --version |
|
|
|
|
|
|
|
EXPOSE 8000 |
|
|
|
|
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"] |
|
|
|
|
|
|
|
CMD ["gunicorn", "lesspass.wsgi:application", "--access-logfile", "-", "--error-logfile", "-", "--log-level", "debug", "--bind", "0.0.0.0:8000"] |