Skip to content

Commit a83bfea

Browse files
committed
update dockerfile to use sdm cli
1 parent b9f84d5 commit a83bfea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY dist/*.whl ./dist/
1717
RUN poetry config virtualenvs.create false \
1818
&& poetry install --only main --no-interaction --no-ansi || true
1919

20-
# Build and install the package
20+
# Install source-declarative-manifest CLI and its dependencies
2121
RUN pip install dist/*.whl
2222

2323
# Recreate the original structure
@@ -33,7 +33,6 @@ RUN rm -rf dist/ pyproject.toml poetry.lock README.md
3333
# Set ownership of /airbyte to the non-root airbyte user and group (1000:1000)
3434
RUN chown -R 1000:1000 /airbyte
3535

36-
# Set the entrypoint
37-
ENV AIRBYTE_ENTRYPOINT="python /airbyte/integration_code/main.py"
38-
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
36+
# Set the entrypoint to use the source-declarative-manifest CLI
37+
ENTRYPOINT ["source-declarative-manifest"]
3938
USER airbyte

0 commit comments

Comments
 (0)