-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.fix
More file actions
15 lines (11 loc) · 929 Bytes
/
Dockerfile.fix
File metadata and controls
15 lines (11 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM oiio-proxy-generator:latest
ENV LD_LIBRARY_PATH="/layers/paketo-buildpacks_cpython/cpython/lib:/layers/apt-buildpack/apt/lib/x86_64-linux-gnu:/layers/apt-buildpack/apt/usr/lib/x86_64-linux-gnu:/layers/apt-buildpack/apt/usr/lib"
ENV PATH="/layers/apt-buildpack/apt/usr/bin:/layers/paketo-buildpacks_cpython/cpython/bin:${PATH}"
ENV PYTHONPATH="/workspace:/layers/paketo-buildpacks_cpython/cpython/lib/python3.12/site-packages:/layers/paketo-buildpacks_pip-install/packages/lib/python3.12/site-packages"
# OCIO config: not set by default. oiiotool uses built-in color transforms
# (linear, sRGB, Rec709). Set OCIO_CONFIG_PATH in pipeline env vars to use
# a custom OCIO config (e.g., ACES 1.3) if available on the cluster.
WORKDIR /workspace
# Bypass the CNB launcher -- start the VAST runtime directly with Python
ENTRYPOINT ["python3", "-m", "vast_runtime.main"]
CMD ["--app-path", "/workspace", "--handler", "main.py"]