Rajeev-86 commited on
Commit
a288c8d
·
1 Parent(s): 6f65770

add port id on README and Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. README.md +2 -1
Dockerfile CHANGED
@@ -10,6 +10,8 @@ RUN pip install -r /tmp/requirements.txt && rm /tmp/requirements.txt
10
  WORKDIR /home/model-server
11
  RUN mkdir model_store
12
 
 
 
13
  # 3. Installing gdown, downloading models and immediately uninstalling it for a smaller image
14
  RUN pip install --no-cache-dir gdown && \
15
  gdown 1x9lGntRiYsNb-dYf1SugGGwnoGa_oQes -O model_store/UNET.mar && \
 
10
  WORKDIR /home/model-server
11
  RUN mkdir model_store
12
 
13
+ EXPOSE 8080
14
+
15
  # 3. Installing gdown, downloading models and immediately uninstalling it for a smaller image
16
  RUN pip install --no-cache-dir gdown && \
17
  gdown 1x9lGntRiYsNb-dYf1SugGGwnoGa_oQes -O model_store/UNET.mar && \
README.md CHANGED
@@ -4,7 +4,8 @@ emoji: 🚀
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: docker
7
- app_file: Dockerfile # <-- **CRITICAL: Set this to your main application file**
 
8
  pinned: false
9
  ---
10
 
 
4
  colorFrom: indigo
5
  colorTo: purple
6
  sdk: docker
7
+ app_port: 8080
8
+ app_file: Dockerfile
9
  pinned: false
10
  ---
11