diff --git a/Dockerfile b/Dockerfile index 91160b3..43b5457 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN apk add libxslt # install the application WORKDIR /app -ADD asl_articles asl_articles +COPY asl_articles asl_articles COPY setup.py requirements.txt requirements-dev.txt run_server.py LICENSE.txt ./ RUN pip install -e . @@ -35,6 +35,9 @@ ARG ENABLE_TESTS COPY asl_articles/config/logging.yaml.example asl_articles/config/logging.yaml COPY docker/config/* asl_articles/config/ +# copy the alembic files (so that users can upgrade their database) +COPY alembic alembic + # launch the web server EXPOSE 5000 ENV DBCONN undefined