pablovela5620 commited on
Commit
4556a93
1 Parent(s): 7450f75

Update Dockerfile and main.py launch settings

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -4
  2. main.py +1 -1
Dockerfile CHANGED
@@ -3,10 +3,6 @@
3
 
4
  FROM ghcr.io/prefix-dev/pixi:0.15.2
5
 
6
- WORKDIR /code
7
-
8
- COPY ./pixi.toml /code/pixi.toml
9
-
10
  # Set up a new user named "user" with user ID 1000
11
  RUN useradd -m -u 1000 user
12
 
 
3
 
4
  FROM ghcr.io/prefix-dev/pixi:0.15.2
5
 
 
 
 
 
6
  # Set up a new user named "user" with user ID 1000
7
  RUN useradd -m -u 1000 user
8
 
main.py CHANGED
@@ -6,4 +6,4 @@ def greet(name):
6
 
7
 
8
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
9
- demo.launch()
 
6
 
7
 
8
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+ demo.launch(server_name="0.0.0.0", server_port=7860)