From 7fdfd330b49815dc606f603e922bd3fa6c519cf8 Mon Sep 17 00:00:00 2001 From: dandds Date: Wed, 4 Mar 2020 14:11:31 -0500 Subject: [PATCH] Copy the directory name correctly in the Docker build. The top-level module should be named "atat" inside the Docker container. Confusingly, the application code is inside "/opt/atat/atst", with the top-level application module at "/opt/atat/atst/atat". That directory path is a holdover from when this application was a series of microservices. Eventually we should truncate it to something sensible and descriptive. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6ed6c121..593d4fdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -80,7 +80,7 @@ COPY --from=builder /install/.venv/ ./.venv/ COPY --from=builder /install/alembic/ ./alembic/ COPY --from=builder /install/alembic.ini . COPY --from=builder /install/app.py . -COPY --from=builder /install/atat/ ./atst/ +COPY --from=builder /install/atat/ ./atat/ COPY --from=builder /install/celery_worker.py ./celery_worker.py COPY --from=builder /install/config/ ./config/ COPY --from=builder /install/templates/ ./templates/