1
0
mirror of synced 2025-12-20 02:23:30 -05:00
Files
airbyte/airbyte-integrations/connectors/source-python-http-tutorial/Dockerfile
Brian Leonard c302af45ff Upgrade to Python 3.9 (#11763)
* Dockerfile to 3.9

* Python version

* More python updates

* 3.9 on GitHub actions and lint updates

* Test out 3.9.11 on GitHub actions

* install python with an action

* formatting: newline

* Also has python code

* only check first level for changed modules
Previous example (source-google-search-console/credentials)

* Test failure: there is no logger.trace
2022-04-11 20:51:37 -07:00

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.3
LABEL io.airbyte.name=airbyte/source-python-http-tutorial