No Description
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 416B

12345678910111213141516171819202122
  1. FROM python:3.7.2
  2. EXPOSE 5000
  3. VOLUME /app
  4. RUN pip install pipenv
  5. WORKDIR /app
  6. ADD Pipfile .
  7. ADD Pipfile.lock .
  8. RUN pipenv install --system --deploy --ignore-pipfile --verbose
  9. ENV AUTOPILOT_USERNAME ""
  10. ENV AUTOPILOT_PASSWORD ""
  11. ENV AUTOPILOT_USER_ID -1
  12. ADD ./autopilot /app/autopilot
  13. CMD ["uwsgi", "--http", "0.0.0.0:5000", \
  14. "--protocol", "uwsgi", \
  15. "--wsgi", "autopilot.app:app"]