shiveshnavin commited on
Commit
5669953
·
1 Parent(s): dfcd51f

:Use-existing-image:

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -9
  2. Dockerfile.base +14 -0
Dockerfile CHANGED
@@ -1,14 +1,7 @@
1
- FROM python:3.9
2
 
3
- RUN useradd -m -u 1000 user
4
  USER user
5
- ENV PATH="/home/user/.local/bin:$PATH"
6
- RUN apt-get update && apt-get install -y cmake
7
  WORKDIR /app
8
 
9
- COPY --chown=user ./requirements.txt /app/requirements.txt
10
- RUN pip install face_recognition gradio
11
- COPY --chown=user . /app
12
-
13
  EXPOSE 7860
14
- CMD ["python", "app.py"]
 
1
+ from semibit/face-match:tagname
2
 
 
3
  USER user
 
 
4
  WORKDIR /app
5
 
 
 
 
 
6
  EXPOSE 7860
7
+ CMD ["python", "app.py"]
Dockerfile.base ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+ RUN apt-get update && apt-get install -y cmake
7
+ WORKDIR /app
8
+
9
+ COPY --chown=user ./requirements.txt /app/requirements.txt
10
+ RUN pip install face_recognition gradio
11
+ COPY --chown=user . /app
12
+
13
+ EXPOSE 7860
14
+ CMD ["python", "app.py"]