Spaces:
Runtime error
Runtime error
Update Dockerfile
#2
by
giahuy293
- opened
- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
FROM mendelxu/pytorch:d2_nvcr_2008
|
2 |
|
|
|
|
|
|
|
3 |
# Set up a new user named "user" with user ID 1000
|
4 |
RUN useradd -m -u 1000 user
|
5 |
# Switch to the "user" user
|
|
|
1 |
FROM mendelxu/pytorch:d2_nvcr_2008
|
2 |
|
3 |
+
docker build docker/app.Docker -t san_app
|
4 |
+
docker run -it --shm-size 4G -p 7860:7860 san_app
|
5 |
+
|
6 |
# Set up a new user named "user" with user ID 1000
|
7 |
RUN useradd -m -u 1000 user
|
8 |
# Switch to the "user" user
|