Update whisper_pipeline/dockerfile
Browse files
whisper_pipeline/dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ ARG USE_CUDA_VER
|
|
| 7 |
|
| 8 |
## Basis ##
|
| 9 |
ENV ENV=prod \
|
| 10 |
-
PORT=
|
| 11 |
# pass build args to the build
|
| 12 |
USE_CUDA_DOCKER=${USE_CUDA} \
|
| 13 |
USE_CUDA_DOCKER_VER=${USE_CUDA_VER}
|
|
@@ -41,11 +41,11 @@ RUN uv pip install --system -r requirements.txt --no-cache-dir
|
|
| 41 |
COPY . .
|
| 42 |
|
| 43 |
# Expose the API port
|
| 44 |
-
EXPOSE
|
| 45 |
|
| 46 |
# Set the environment variables
|
| 47 |
ENV HOST="0.0.0.0"
|
| 48 |
-
ENV PORT="
|
| 49 |
|
| 50 |
# Set entrypoint to run the FastAPI server
|
| 51 |
ENTRYPOINT [ "bash", "start.sh" ]
|
|
|
|
| 7 |
|
| 8 |
## Basis ##
|
| 9 |
ENV ENV=prod \
|
| 10 |
+
PORT=5056 \
|
| 11 |
# pass build args to the build
|
| 12 |
USE_CUDA_DOCKER=${USE_CUDA} \
|
| 13 |
USE_CUDA_DOCKER_VER=${USE_CUDA_VER}
|
|
|
|
| 41 |
COPY . .
|
| 42 |
|
| 43 |
# Expose the API port
|
| 44 |
+
EXPOSE 5056
|
| 45 |
|
| 46 |
# Set the environment variables
|
| 47 |
ENV HOST="0.0.0.0"
|
| 48 |
+
ENV PORT="5056"
|
| 49 |
|
| 50 |
# Set entrypoint to run the FastAPI server
|
| 51 |
ENTRYPOINT [ "bash", "start.sh" ]
|