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.
This commit is contained in:
dandds 2020-03-04 14:11:31 -05:00
parent 02a0cd353e
commit 7fdfd330b4

View File

@ -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/