Skip to content

Commit

Permalink
fix: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shifty11 committed Nov 30, 2023
1 parent 3229fe6 commit ae54254
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/kystrap/templates/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the official Python image as the base image
FROM python:3.11
FROM python:3.12

# Set the working directory inside the container
WORKDIR /app
Expand All @@ -11,11 +11,8 @@ COPY ./src ./src
# Install the required Python packages
RUN pip install --no-cache-dir -r requirements.txt


ENV RUNTIME_SERVER_ADDR=runtime:50051

# Expose the gRPC port
EXPOSE 50051

# Run the Python script
CMD ["python", "src/main.py"]
CMD ["python", "main.py"]

0 comments on commit ae54254

Please sign in to comment.