@@ -76,21 +76,21 @@ COPY --chown=nonroot:nonroot src/common ./common
7676COPY --chown=nonroot:nonroot src/alembic.ini .
7777
7878# Copy the http python package and requirements from relevant builder
79- FROM base_app AS http_app
79+ FROM base_app AS http
8080COPY --from=http_builder /venv /venv
8181COPY --chown=nonroot:nonroot src/http_app ./http_app
8282# Run CMD using array syntax, so it uses `exec` and runs as PID1
8383CMD ["opentelemetry-instrument" , "python" , "-m" , "http_app" ]
8484
8585# Copy the socketio python package and requirements from relevant builder
86- FROM base_app AS socketio_app
86+ FROM base_app AS socketio
8787COPY --from=socketio_builder /venv /venv
8888COPY --chown=nonroot:nonroot src/socketio_app ./socketio_app
8989# Run CMD using array syntax, so it uses `exec` and runs as PID1
9090CMD ["opentelemetry-instrument" , "python" , "-m" , "socketio_app" ]
9191
9292# Copy the dramatiq python package and requirements from relevant builder
93- FROM base_app AS dramatiq_app
93+ FROM base_app AS dramatiq
9494COPY --from=dramatiq_builder /venv /venv
9595COPY --chown=nonroot:nonroot src/dramatiq_worker ./dramatiq_worker
9696# Run CMD using array syntax, so it uses `exec` and runs as PID1
0 commit comments