Spaces:
Runtime error
Runtime error
Commit
·
1f73ead
1
Parent(s):
b06c576
change
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM slavchik/image-colorization:latest
|
2 |
+
|
3 |
+
ENV GRADIO_SERVER_PORT=7860
|
4 |
+
|
5 |
+
# Set up a new user named "user" with user ID 1000
|
6 |
+
RUN useradd -m -u 1000 user
|
7 |
+
|
8 |
+
# Switch to the "user" user
|
9 |
+
USER user
|
10 |
+
|
11 |
+
# RUN python3.7 -m pip install protobuf==3.20.*
|
12 |
+
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
13 |
+
|
14 |
+
CMD ["python3.7", "app.py"]
|