Skip to content

Commit 4071490

Browse files
committed
fix broken dockerfiles
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
1 parent 9d60b1c commit 4071490

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
22
ARG RELEASE_VERSION="main"
33

4+
ADD . /app
45
WORKDIR /app
5-
COPY . .
6+
67
RUN uv sync --no-cache --locked --link-mode copy
78

89
ENV PRODUCTION_MODE=True \
9-
RELEASE_VERSION=${RELEASE_VERSION}
10+
RELEASE_VERSION=${RELEASE_VERSION} \
11+
PATH="/app/.venv/bin:$PATH"
1012

1113
RUN chown -R 1001:1001 /app
1214
USER 1001
1315

14-
CMD ["uv", "run", "--no-sync", ".", "--host", "0.0.0.0", "--port", "8000"]
16+
CMD ["uv", "run", "--no-sync", "app", "--host", "0.0.0.0", "--port", "8000"]

a2a/slack_researcher/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ENV PRODUCTION_MODE=True \
1111
RUN chown -R 1001:1001 /app
1212
USER 1001
1313

14-
CMD ["uv", "run", "--no-sync", ".", "--host", "0.0.0.0", "--port", "8000"]
14+
CMD ["uv", "run", "--no-sync", "server", "--host", "0.0.0.0", "--port", "8000"]

a2a/weather_service/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ ENV PRODUCTION_MODE=True \
1111
RUN chown -R 1001:1001 /app
1212
USER 1001
1313

14-
CMD ["uv", "run", "--no-sync", ".", "--host", "0.0.0.0", "--port", "8000"]
14+
CMD ["uv", "run", "--no-sync", "server", "--host", "0.0.0.0", "--port", "8000"]

0 commit comments

Comments
 (0)