Spaces:

npc0 commited on
Commit
70160e7
1 Parent(s): 6878ab3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM swipl
2
 
3
  RUN apt-get update
4
- RUN apt-get install -y gcc python3-all python3-dev
5
 
6
  WORKDIR /app
7
  COPY . /app
@@ -15,4 +15,4 @@ RUN python -c "import janus_swi as janus"
15
 
16
  EXPOSE 7860
17
  ENV GRADIO_SERVER_NAME="0.0.0.0"
18
- CMD ["python", "app.py"]
 
1
  FROM swipl
2
 
3
  RUN apt-get update
4
+ RUN apt-get install -y gcc python3-all python3-dev python3-venv
5
 
6
  WORKDIR /app
7
  COPY . /app
 
15
 
16
  EXPOSE 7860
17
  ENV GRADIO_SERVER_NAME="0.0.0.0"
18
+ CMD ["source", "env\Scripts\activate;", "python", "app.py"]