17 lines
515 B
Docker
17 lines
515 B
Docker
FROM python:3.9-slim
|
|
|
|
# Bash is installed for more convenient debugging.
|
|
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /airbyte/integration_code
|
|
COPY source_python_http_tutorial ./source_python_http_tutorial
|
|
COPY main.py ./
|
|
COPY setup.py ./
|
|
RUN pip install .
|
|
|
|
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
|
|
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
|
|
|
|
LABEL io.airbyte.version=0.1.4
|
|
LABEL io.airbyte.name=airbyte/source-python-http-tutorial
|