You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Dockerfile
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Copyright 2023 Nils Knieling
1
+
# Copyright 2023-2024 Nils Knieling
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
@@ -12,16 +12,16 @@
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
# The python:3.11-slim tag points to the latest release based on Debian 12 (bookworm)
16
-
FROM python:3.11-slim
15
+
# The python:3.12-slim tag points to the latest release based on Debian 12 (bookworm)
16
+
FROM python:3.12-slim
17
17
18
18
# Labels
19
19
LABEL org.opencontainers.image.title "OpenAI API for Google Cloud Vertex AI"
20
20
LABEL org.opencontainers.image.description "Drop-in replacement REST API for Google Cloud Vertex AI that is compatible with the OpenAI API specifications"
Copy file name to clipboardexpand all lines: README.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -91,16 +91,19 @@ bash deploy.sh
91
91
92
92
## Running Locally
93
93
94
-
The software was tested on GNU/Linux and macOS with Python 3.11.
94
+
The software was tested on GNU/Linux and macOS with Python 3.12.
95
95
If you want to use the software under Windows, you must set the environment variables with `set` instead of `export`.
96
+
96
97
You should also create a [virtual environment](https://docs.python.org/3/library/venv.html) with the version of Python you want to use, and activate it before proceeding.
97
98
98
99
You also need the [Google Cloud CLI](https://cloud.google.com/sdk/docs/install).
99
100
The Google Cloud CLI includes the `gcloud` command-line tool.
100
101
101
-
Install requirements:
102
+
Initiate a Python virtual environment and install requirements:
0 commit comments