blasisd commited on
Commit
c2ae33f
Β·
1 Parent(s): e0ae9ad

Updated README.md and Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. README.md +1 -1
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  ARG APP_PORT
2
- FROM python:3.10
3
 
4
  # The two following lines are requirements for the Dev Mode to be functional
5
  # Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
@@ -11,4 +11,4 @@ RUN pip install --no-cache-dir --upgrade pip
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
  COPY --chown=user ./src /app
14
- CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", $APP_PORT]
 
1
  ARG APP_PORT
2
+ FROM python:3.10.12-alpine
3
 
4
  # The two following lines are requirements for the Dev Mode to be functional
5
  # Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
 
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
  COPY --chown=user ./src /app
14
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", $APP_PORT]
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Musheff Api
3
- emoji: πŸ“š
4
  colorFrom: yellow
5
  colorTo: green
6
  sdk: docker
 
1
  ---
2
  title: Musheff Api
3
+ emoji: πŸ„
4
  colorFrom: yellow
5
  colorTo: green
6
  sdk: docker