FROM python:3.11-slim WORKDIR /app # Install dependencies RUN pip install --no-cache-dir \ flask \ flask-cors \ h5py \ numpy # Copy API server COPY h5_api_server.py . # Make executable RUN chmod +x h5_api_server.py EXPOSE 3004 CMD ["python", "h5_api_server.py"]