Dockerfile 415 B

123456789101112131415
  1. FROM reg.cestong.com.cn/cecf/pyflink:v1.18.1
  2. LABEL authors="yawyd"
  3. WORKDIR /app
  4. COPY pyproject.toml /app/
  5. COPY README.md /app/
  6. RUN poetry install --no-root
  7. COPY . /app/
  8. ENTRYPOINT ["python", "otel_sampled_clickhouse", "-ch_host", "${CH_HOST}", "-ch_port", "${CH_PORT}", \
  9. "-ch_user", "${CH_USER}", "-ch_password", "${CH_PASSWORD}", "-ch_dbname", "${CH_DBNAME}", "-kafka_brokers", \
  10. "${KAFKA_BROKERS}"]