symposion_app/Dockerfile

11 lines
365 B
Docker
Raw Normal View History

2018-12-10 07:08:16 +00:00
FROM symposion_app
COPY static/src/fonts/*.ttf /usr/local/share/fonts/
RUN fc-cache && fc-list
FROM symposion_base as symposion_dev
VOLUME /app/symposion_app
CMD ["./manage.py", "runserver", "-v3", "0.0.0.0:8000"]
FROM symposion_base as symposion_prod
CMD ["/usr/local/bin/uwsgi", "--http-socket", "0.0.0.0:8000", "-b", "8192", "--wsgi-file", "pinaxcon/wsgi.py"]