diff --git a/connector-superoffice/Dockerfile b/connector-superoffice/Dockerfile index bf427087..3301cb85 100644 --- a/connector-superoffice/Dockerfile +++ b/connector-superoffice/Dockerfile @@ -22,8 +22,13 @@ COPY --from=builder /root/.local /root/.local # Update PATH to include the user-installed packages ENV PATH=/root/.local/bin:$PATH -# Copy source code -COPY . . +# Copy source code (explicitly place needed files in /app root) +COPY worker.py . +COPY webhook_app.py . +COPY queue_manager.py . +COPY config.py . +COPY superoffice_client.py . +COPY start.sh . # Expose port for Webhook EXPOSE 8000 @@ -33,4 +38,3 @@ RUN chmod +x start.sh # Start both worker and webhook CMD ["./start.sh"] -