forked from longtao.wu/droboticflow
21 lines
993 B
Docker
21 lines
993 B
Docker
# Generated by scripts/generate_operator_images.py. Do not edit by hand.
|
|
ARG OPERATOR_GPU_BASE_IMAGE=ccr-29eug8s3-pub.cnc.bj.baidubce.com/dataflow-poc/droboticflow-operator-gpu-base:builtin
|
|
FROM ${OPERATOR_GPU_BASE_IMAGE}
|
|
|
|
WORKDIR /app
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
PYTHONPATH=/app \
|
|
DROBOTICFLOW_OPERATOR_ID=operator-builtin-diffusion-policy-train \
|
|
DROBOTICFLOW_OPERATOR_SLUG=diffusion_policy_train \
|
|
DROBOTICFLOW_OPERATOR_SOURCE=/app/operator-repos/builtin/diffusion_policy_train/src/operator.py \
|
|
DROBOTICFLOW_OPERATOR_REPOSITORY=/app/operator-repos/builtin/diffusion_policy_train \
|
|
DROBOTICFLOW_OPERATOR_HANDLER=builtin_diffusion_policy_train \
|
|
USER=droboticflow \
|
|
LOGNAME=droboticflow \
|
|
HOME=/tmp/droboticflow-home
|
|
|
|
RUN mkdir -p /tmp/droboticflow-home /workspace /outputs
|
|
COPY backend ./backend
|
|
COPY operator-repos/builtin/diffusion_policy_train ./operator-repos/builtin/diffusion_policy_train
|
|
ENTRYPOINT ["python", "/app/backend/operator-runner/main.py"]
|