Spaces:
Runtime error
Runtime error
migrate: GCP to Hugging Face
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -5,18 +5,16 @@ LABEL team="cloud-computing-team"
|
|
5 |
LABEL backend_engineer="Putu Wira Pratama Putra"
|
6 |
LABEL Infra_engineer="Al-Fariqy Raihan Azhwar"
|
7 |
|
8 |
-
RUN useradd -m -u 1000 user
|
9 |
-
|
10 |
WORKDIR /etc/docpet_backend_service
|
11 |
|
12 |
RUN python3 -m pip install --upgrade pip
|
13 |
|
14 |
-
COPY
|
15 |
/etc/docpet_backend_service/
|
16 |
|
17 |
RUN pip install --no-cache-dir --upgrade -r linux.requirements.txt
|
18 |
|
19 |
-
COPY
|
20 |
|
21 |
RUN wget -O /etc/docpet_backend_service/ml_models/model.h5 https://github.com/belajarqywok/mbadhog/raw/main/model.h5
|
22 |
|
|
|
5 |
LABEL backend_engineer="Putu Wira Pratama Putra"
|
6 |
LABEL Infra_engineer="Al-Fariqy Raihan Azhwar"
|
7 |
|
|
|
|
|
8 |
WORKDIR /etc/docpet_backend_service
|
9 |
|
10 |
RUN python3 -m pip install --upgrade pip
|
11 |
|
12 |
+
COPY requirements/linux.requirements.txt \
|
13 |
/etc/docpet_backend_service/
|
14 |
|
15 |
RUN pip install --no-cache-dir --upgrade -r linux.requirements.txt
|
16 |
|
17 |
+
COPY . /etc/docpet_backend_service/
|
18 |
|
19 |
RUN wget -O /etc/docpet_backend_service/ml_models/model.h5 https://github.com/belajarqywok/mbadhog/raw/main/model.h5
|
20 |
|