1
0
mirror of synced 2026-01-03 15:04:01 -05:00
Files
airbyte/airbyte-integrations/connectors/source-file/Dockerfile
Serhii Lazebnyi 0bdd8445cf Remove debug mode for pytest config (#27157)
* Deleted pytest log level

* Force log level for smart open to error

* Bump version

* Bump version

* Delete extra space
2023-06-08 19:17:15 +02:00

22 lines
492 B
Docker

FROM python:3.9-slim as base
FROM base as builder
RUN apt-get update
WORKDIR /airbyte/integration_code
COPY setup.py ./
RUN pip install --prefix=/install .
FROM base
WORKDIR /airbyte/integration_code
COPY --from=builder /install /usr/local
COPY main.py ./
COPY source_file ./source_file
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
LABEL io.airbyte.version=0.3.11
LABEL io.airbyte.name=airbyte/source-file