mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 20:51:08 +00:00
6ad4b700dd
ci/woodpecker/push/02-build-push Pipeline was successful
* Run tests * Run tests * Run tests * Run tests * Added rebuild * Added files for e2e tests * Added rebuild * Added rebuild * Added biuld TensorRT flag * Changed to use NumPy 1.x for Jetson * Make universal invocation * Make Cython constans * Changed to prepare onnx * Changed smoke-test to wait AI conversion * Added step for model conversion * Changed to not run step in parallel * Push model to docker registry * Push model to docker registry * Push model to docker registry
8 lines
223 B
Docker
8 lines
223 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
RUN pip install --no-cache-dir flask gunicorn
|
|
COPY mocks/loader/app.py .
|
|
COPY fixtures /models
|
|
EXPOSE 8080
|
|
CMD ["gunicorn", "-b", "0.0.0.0:8080", "-w", "1", "--timeout", "120", "app:app"]
|