playmak3r commited on
Commit
9c72f7a
1 Parent(s): a064c97

update app port

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. server/app.py +1 -1
Dockerfile CHANGED
@@ -25,7 +25,7 @@ COPY --from=builder /app/server ./
25
  RUN pip install --no-cache-dir -r requirements.txt
26
  RUN python setup.py -download
27
 
28
- EXPOSE 8080
29
 
30
  # Comando para executar o servidor Python
31
  CMD ["python", "app.py"]
 
25
  RUN pip install --no-cache-dir -r requirements.txt
26
  RUN python setup.py -download
27
 
28
+ EXPOSE 7860
29
 
30
  # Comando para executar o servidor Python
31
  CMD ["python", "app.py"]
server/app.py CHANGED
@@ -31,6 +31,6 @@ def translate_api():
31
 
32
 
33
  if __name__ == '__main__':
34
- serve(app)
35
 
36
 
 
31
 
32
 
33
  if __name__ == '__main__':
34
+ serve(app, port= 7860)
35
 
36