hassanalsawadi commited on
Commit
67d41c1
·
1 Parent(s): 9bddbbc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -15
Dockerfile CHANGED
@@ -1,19 +1,7 @@
1
- # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
- # you will also find guides on how best to write your Dockerfile
3
-
4
-
5
  FROM alpine:3.16
6
 
7
  ENV NODE_VERSION 19.6.0
8
 
9
- WORKDIR /code
10
-
11
- COPY ./requirements.txt /code/requirements.txt
12
-
13
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
14
-
15
- COPY . .
16
-
17
  RUN addgroup -g 1000 node \
18
  && adduser -u 1000 -G node -s /bin/sh -D node \
19
  && apk add --no-cache \
@@ -105,6 +93,4 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
105
  COPY docker-entrypoint.sh /usr/local/bin/
106
  ENTRYPOINT ["docker-entrypoint.sh"]
107
 
108
- CMD [ "node" ]
109
-
110
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
1
  FROM alpine:3.16
2
 
3
  ENV NODE_VERSION 19.6.0
4
 
 
 
 
 
 
 
 
 
5
  RUN addgroup -g 1000 node \
6
  && adduser -u 1000 -G node -s /bin/sh -D node \
7
  && apk add --no-cache \
 
93
  COPY docker-entrypoint.sh /usr/local/bin/
94
  ENTRYPOINT ["docker-entrypoint.sh"]
95
 
96
+ CMD [ "node" ]