tebakaja commited on
Commit
f80bf8a
·
1 Parent(s): 6139771

migrate: GCP to Hugging Face

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -9,19 +9,17 @@ ENV PYTHONDONTWRITEBYTECODE 1
9
  ENV PYTHONUNBUFFERED 1
10
 
11
  RUN useradd -m -u 1000 user
12
- USER user
13
- ENV PATH="/home/user/.local/bin:$PATH"
14
 
15
  WORKDIR /etc/docpet_backend_service
16
 
17
  RUN python3 -m pip install --upgrade pip
18
 
19
- COPY --chown=user requirements/linux.requirements.txt \
20
  /etc/docpet_backend_service/
21
 
22
  RUN pip3 install -r linux.requirements.txt
23
 
24
- COPY --chown=user . /etc/docpet_backend_service/
25
 
26
  RUN wget -O /etc/docpet_backend_service/ml_models/model.h5 \
27
  https://github.com/belajarqywok/mbadhog/raw/main/model.h5
 
9
  ENV PYTHONUNBUFFERED 1
10
 
11
  RUN useradd -m -u 1000 user
 
 
12
 
13
  WORKDIR /etc/docpet_backend_service
14
 
15
  RUN python3 -m pip install --upgrade pip
16
 
17
+ COPY requirements/linux.requirements.txt \
18
  /etc/docpet_backend_service/
19
 
20
  RUN pip3 install -r linux.requirements.txt
21
 
22
+ COPY . /etc/docpet_backend_service/
23
 
24
  RUN wget -O /etc/docpet_backend_service/ml_models/model.h5 \
25
  https://github.com/belajarqywok/mbadhog/raw/main/model.h5