Spaces:
Running
Running
Fix pip path and remove arguments in command
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
@@ -25,18 +25,16 @@ ENV HOME=/home/user \
|
|
25 |
# Install the project into `/app`
|
26 |
WORKDIR $HOME/app
|
27 |
|
28 |
-
# Then, add the rest of the project source code and install it
|
29 |
-
# Installing separately from its dependencies allows optimal layer caching
|
30 |
# Copy all the app code to the docker
|
31 |
COPY --chown=user . $HOME/app
|
32 |
|
33 |
-
# Install
|
34 |
-
RUN pip install
|
35 |
|
36 |
-
# This informs Docker that the container will listen on port
|
37 |
EXPOSE 8501
|
38 |
|
39 |
# Command to run the app
|
40 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
41 |
|
42 |
-
CMD ["cmbagent", "run"
|
|
|
25 |
# Install the project into `/app`
|
26 |
WORKDIR $HOME/app
|
27 |
|
|
|
|
|
28 |
# Copy all the app code to the docker
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
+
# Install cmbagent
|
32 |
+
RUN pip install git+https://github.com/CMBAgents/cmbagent.git@pablo/gui_keys
|
33 |
|
34 |
+
# This informs Docker that the container will listen on port 8501 at runtime.
|
35 |
EXPOSE 8501
|
36 |
|
37 |
# Command to run the app
|
38 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
39 |
|
40 |
+
CMD ["cmbagent", "run"]
|