Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
|
3 |
+
WORKDIR /code
|
4 |
+
|
5 |
+
RUN pip install aim
|
6 |
+
|
7 |
+
COPY stylegan_logs.tar.gz .
|
8 |
+
RUN tar -xzf stylegan_logs.tar.gz
|
9 |
+
|
10 |
+
RUN chmod -R 777 /code
|
11 |
+
|
12 |
+
CMD ["aim", "up", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"]
|