* Deleted pytest log level * Force log level for smart open to error * Bump version * Bump version * Delete extra space
22 lines
492 B
Docker
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
|