1
0
mirror of synced 2026-01-28 19:01:58 -05:00
Files
airbyte/airbyte-integrations/connector-templates/source-python-http-api/Dockerfile
Davin Chia 945e46b53e Update generator templates to use CDK. (#3316)
* Update singer template.
* Update source python.
* Update http python.
* Fix a bug where the template tests were not previously running.
2021-05-11 06:26:22 +08:00

16 lines
442 B
Docker

FROM python:3.7-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_{{snakeCase name}} ./source_{{snakeCase name}}
COPY main.py ./
COPY setup.py ./
RUN pip install .
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.name=airbyte/source-{{dashCase name}}