
* ♻️ Refactor and simplify backend code * ♻️ Refactor frontend state, integrate typesafe-vuex accessors into state files * ♻️ Use new state accessors and standardize layout * 🔒 Upgrade and fix npm security audit * 🔧 Update local re-generation scripts * 🔊 Log startup exceptions to detect errors early * ✏️ Fix password reset token content * 🔥 Remove unneeded Dockerfile directives * 🔥 Remove unnecessary print * 🔥 Remove unnecessary code, upgrade dependencies in backend * ✏️ Fix typos in docstrings and comments * 🏗️ Improve user Depends utilities to simplify and remove code * 🔥 Remove deprecated SQLAlchemy parameter
18 lines
518 B
Docker
18 lines
518 B
Docker
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.6
|
|
|
|
RUN pip install celery==4.2.1 passlib[bcrypt] tenacity requests emails "fastapi>=0.7.1" uvicorn gunicorn pyjwt python-multipart email_validator jinja2 psycopg2-binary alembic SQLAlchemy
|
|
|
|
# For development, Jupyter remote kernel, Hydrogen
|
|
# Using inside the container:
|
|
# jupyter notebook --ip=0.0.0.0 --allow-root
|
|
ARG env=prod
|
|
RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyter ; fi"
|
|
EXPOSE 8888
|
|
|
|
COPY ./app /app
|
|
WORKDIR /app/
|
|
|
|
ENV PYTHONPATH=/app
|
|
|
|
EXPOSE 80
|