Skip to content

Commit 9e53ae9

Browse files
committed
fix: Dockerfile
1 parent c8388bf commit 9e53ae9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Dockerfile

+3-7
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ WORKDIR /app
99
COPY . .
1010

1111
# Install the project dependencies
12-
RUN pip install --no-cache-dir httpx==0.24.1 click==8.1.7 mcp==0.1.0
13-
14-
# Set environment variables for Airflow connection
15-
ENV AIRFLOW_HOST=${AIRFLOW_HOST}
16-
ENV AIRFLOW_USERNAME=${AIRFLOW_USERNAME}
17-
ENV AIRFLOW_PASSWORD=${AIRFLOW_PASSWORD}
12+
RUN pip install uv
13+
RUN uv sync
1814

1915
# Expose the port that the server will run on
2016
EXPOSE 8000
2117

2218
# Command to run the server
23-
CMD ["python", "src/server.py"]
19+
CMD ["uv", "run", "src", "--transport", "sse"]

uv.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)