update app port
Browse files- Dockerfile +1 -1
- 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
|
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 |
|