Fix coverage: add /api/coverage route, remove stray gather code from loadCoverage
This commit is contained in:
20
Dockerfile.api
Normal file
20
Dockerfile.api
Normal file
@@ -0,0 +1,20 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user