Update whisper_pipeline_cu118/dockerfile
Browse files
whisper_pipeline_cu118/dockerfile
CHANGED
@@ -7,7 +7,7 @@ ARG USE_CUDA_VER
|
|
7 |
|
8 |
## Basis ##
|
9 |
ENV ENV=prod \
|
10 |
-
PORT=
|
11 |
USE_CUDA_DOCKER=${USE_CUDA} \
|
12 |
USE_CUDA_DOCKER_VER=${USE_CUDA_VER}
|
13 |
|
@@ -47,11 +47,11 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
47 |
COPY . .
|
48 |
|
49 |
# Expose the API port
|
50 |
-
EXPOSE
|
51 |
|
52 |
# Set the environment variables
|
53 |
ENV HOST="0.0.0.0"
|
54 |
-
ENV PORT="
|
55 |
|
56 |
# Set entrypoint to run the FastAPI server
|
57 |
ENTRYPOINT ["bash", "start.sh"]
|
|
|
7 |
|
8 |
## Basis ##
|
9 |
ENV ENV=prod \
|
10 |
+
PORT=5678 \
|
11 |
USE_CUDA_DOCKER=${USE_CUDA} \
|
12 |
USE_CUDA_DOCKER_VER=${USE_CUDA_VER}
|
13 |
|
|
|
47 |
COPY . .
|
48 |
|
49 |
# Expose the API port
|
50 |
+
EXPOSE 5678
|
51 |
|
52 |
# Set the environment variables
|
53 |
ENV HOST="0.0.0.0"
|
54 |
+
ENV PORT="5678"
|
55 |
|
56 |
# Set entrypoint to run the FastAPI server
|
57 |
ENTRYPOINT ["bash", "start.sh"]
|