Spaces:
Running
Running
Adapt for having different folders
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ WORKDIR $HOME/app
|
|
| 29 |
COPY --chown=user . $HOME/app
|
| 30 |
|
| 31 |
# Install cmbagent
|
| 32 |
-
RUN pip install cmbagent>=0.0.1.
|
| 33 |
|
| 34 |
# This informs Docker that the container will listen on port 8501 at runtime.
|
| 35 |
EXPOSE 8501
|
|
@@ -37,4 +37,4 @@ EXPOSE 8501
|
|
| 37 |
# Command to run the app
|
| 38 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 39 |
|
| 40 |
-
CMD ["cmbagent", "
|
|
|
|
| 29 |
COPY --chown=user . $HOME/app
|
| 30 |
|
| 31 |
# Install cmbagent
|
| 32 |
+
RUN pip install cmbagent>=0.0.1.post42
|
| 33 |
|
| 34 |
# This informs Docker that the container will listen on port 8501 at runtime.
|
| 35 |
EXPOSE 8501
|
|
|
|
| 37 |
# Command to run the app
|
| 38 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 39 |
|
| 40 |
+
CMD ["cmbagent", "deploy"]
|