ericmagalhaes
commited on
Commit
•
b51fa7e
1
Parent(s):
ed72c0e
change ignore
Browse files- .gitignore +0 -1
- dockerfile +16 -0
.gitignore
CHANGED
@@ -164,7 +164,6 @@ gfpgan/*
|
|
164 |
checkpoints/*
|
165 |
assets/*
|
166 |
results/*
|
167 |
-
Dockerfile
|
168 |
start_docker.sh
|
169 |
start.sh
|
170 |
|
|
|
164 |
checkpoints/*
|
165 |
assets/*
|
166 |
results/*
|
|
|
167 |
start_docker.sh
|
168 |
start.sh
|
169 |
|
dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9.12
|
2 |
+
|
3 |
+
RUN apt-get update && \
|
4 |
+
apt-get install -y libgl1-mesa-glx
|
5 |
+
|
6 |
+
WORKDIR /app
|
7 |
+
|
8 |
+
COPY . /app
|
9 |
+
RUN chmod +x scripts/download_models.sh
|
10 |
+
RUN bash scripts/download_models.sh
|
11 |
+
|
12 |
+
RUN pip install -r requirements.txt
|
13 |
+
|
14 |
+
EXPOSE 80
|
15 |
+
|
16 |
+
CMD ["gunicorn", "-b", ":80","app:app"]
|