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