Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
-
WORKDIR /
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
-
COPY
|
10 |
COPY model/model.h5 /app/model/model.h5
|
11 |
|
12 |
RUN useradd -m -u 1000 user
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
+
WORKDIR /main
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
+
COPY main.py /app/main.py
|
10 |
COPY model/model.h5 /app/model/model.h5
|
11 |
|
12 |
RUN useradd -m -u 1000 user
|