Spaces:
Running
Running
Force cmbagent version and python version to 3.12
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Python image as base
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Set environment variables to avoid interactive prompts during package installs
|
5 |
ENV DEBIAN_FRONTEND=noninteractive
|
@@ -29,7 +29,7 @@ WORKDIR $HOME/app
|
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
# Install cmbagent
|
32 |
-
RUN pip install cmbagent
|
33 |
|
34 |
# This informs Docker that the container will listen on port 8501 at runtime.
|
35 |
EXPOSE 8501
|
|
|
1 |
# Use an official Python image as base
|
2 |
+
FROM python:3.12-slim
|
3 |
|
4 |
# Set environment variables to avoid interactive prompts during package installs
|
5 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
# Install cmbagent
|
32 |
+
RUN pip install cmbagent>=0.0.1.post43
|
33 |
|
34 |
# This informs Docker that the container will listen on port 8501 at runtime.
|
35 |
EXPOSE 8501
|