diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e4d1f9f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3 + +WORKDIR /usr/src/app + +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +RUN flask db init +RUN flask db migrate +RUN flask db upgrade + +CMD flask run --host 0.0.0.0 +EXPOSE 5000