yiyixin commited on
Commit
942c3d7
1 Parent(s): eab6322
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. run.sh +1 -1
Dockerfile CHANGED
@@ -29,9 +29,10 @@ RUN pip install --no-cache-dir -r requirements.txt
29
  # Copy the current directory contents into the container at /app
30
  COPY . /app
31
 
32
- # Expose port 7860 for the streamlit app to listen on
33
  EXPOSE 5000
34
  EXPOSE 7860
 
35
 
36
  # open the grobid server
37
  RUN apt-get update && \
 
29
  # Copy the current directory contents into the container at /app
30
  COPY . /app
31
 
32
+ # Expose port
33
  EXPOSE 5000
34
  EXPOSE 7860
35
+ EXPOSE 8070
36
 
37
  # open the grobid server
38
  RUN apt-get update && \
run.sh CHANGED
@@ -1,4 +1,4 @@
1
  GROBID_VERSION="0.6.2"
2
- ./grobid-${GROBID_VERSION}/gradlew run &
3
  nohup python backend.py &
4
  streamlit run frontend.py --server.address 0.0.0.0 --server.port 7860 --server.enableCORS true --server.enableXsrfProtection false
 
1
  GROBID_VERSION="0.6.2"
2
+ /app/grobid-${GROBID_VERSION}/gradlew run &
3
  nohup python backend.py &
4
  streamlit run frontend.py --server.address 0.0.0.0 --server.port 7860 --server.enableCORS true --server.enableXsrfProtection false