File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
test/integration/components Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 8080
4
4
RUN pip install fastapi uvicorn grpcio grpcio_tools
5
5
COPY main.py /main.py
Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 50051
4
4
RUN pip install grpcio grpcio_tools
5
5
COPY route_guide_server.py /route_guide_server.py
Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 8080
4
4
RUN pip install fastapi uvicorn pymongo
5
5
COPY main.py /main.py
Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 8080
4
4
RUN pip install fastapi uvicorn redis
5
5
COPY main.py /main.py
Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 8080
4
4
RUN apt update
5
5
RUN apt install -y libpq-dev
Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 8080
4
4
RUN apt update
5
5
RUN pip install fastapi uvicorn mysql-connector-python
Original file line number Diff line number Diff line change 1
1
# Dockerfile that will build a container that runs python with FastAPI and uvicorn on port 8080
2
- FROM python:3.12@sha256:a5bbd10dc5f2d6e965e101eef58f2f15cc3be5802cad7a12897aa443839c4943
2
+ FROM python:3.12@sha256:1cb6108b64a4caf2a862499bf90dc65703a08101e8bfb346a18c9d12c0ed5b7e
3
3
EXPOSE 8080
4
4
RUN apt update
5
5
RUN apt install -y libpq-dev
You can’t perform that action at this time.
0 commit comments