Spaces:
Runtime error
Runtime error
Commit
•
edf729a
1
Parent(s):
7170220
Create Dockerfile
Browse files- Dockerfile +20 -0
Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Using Ubuntu as the base image
|
2 |
+
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
|
3 |
+
|
4 |
+
# Setting environment variables
|
5 |
+
ENV TMATE_SOCK=/tmp/tmate.sock
|
6 |
+
|
7 |
+
# Installing necessary packages
|
8 |
+
RUN apt-get update && \
|
9 |
+
apt-get install -y sudo curl unzip jq xrdp kubuntu-desktop tmate
|
10 |
+
|
11 |
+
# Creating a directory for the script
|
12 |
+
WORKDIR /app
|
13 |
+
|
14 |
+
# Copying the entrypoint script to the container
|
15 |
+
COPY entrypoint.sh /app
|
16 |
+
|
17 |
+
# Making the entrypoint script executable
|
18 |
+
RUN chmod +x /app/entrypoint.sh
|
19 |
+
|
20 |
+
CMD ["/app/entrypoint.sh"]
|