fix(Worker): pulls /app from app image again

This commit is contained in:
Brock H Caldwell
2025-11-04 20:03:27 -06:00
parent 2860d2e949
commit d90b4d7863

View File

@@ -8,6 +8,9 @@
# Default to latest, but should pass in a version
ARG APP_VERSION="latest"
# Set aside the actual app image so we can copy the app from there
FROM code.caldwell.digital/home/torsearch-app:${APP_VERSION} AS app_image
# Start with our base worker image
FROM code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
@@ -15,7 +18,7 @@ FROM code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
ENV APP_VERSION=${APP_VERSION}
# Copy the actual application code from the previously built app
COPY --chown=1000:1000 ./ /app
COPY --chown=1000:1000 --from=app_image /app /app
# To retain backwards compatibility, default to async & download transports
CMD [ "--async", "--download" ]