Walter Mantovani commited on
Commit
b72fa5f
·
1 Parent(s): f1d2cf1
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -24,6 +24,9 @@ WORKDIR $HOME/app
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
 
 
 
27
  # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
28
  CMD ["flask", "run", "--host=0.0.0.0"]
29
  # CMD ["python", "-m", "flask", "run", "--host=0.0.0.0"]
 
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
27
+ # Espone la porta 5000
28
+ EXPOSE 5000
29
+
30
  # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
31
  CMD ["flask", "run", "--host=0.0.0.0"]
32
  # CMD ["python", "-m", "flask", "run", "--host=0.0.0.0"]