Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
@@ -16,12 +16,9 @@ RUN apt-get update && \
|
|
16 |
apt-transport-https && \
|
17 |
rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
-
# Install Docker
|
20 |
-
RUN
|
21 |
-
|
22 |
-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && \
|
23 |
-
apt-get update && \
|
24 |
-
apt-get install -y docker-ce docker-ce-cli containerd.io
|
25 |
|
26 |
# Copy the existing standalone_embed.sh script into the container
|
27 |
COPY standalone_embed.sh /standalone_embed.sh
|
|
|
16 |
apt-transport-https && \
|
17 |
rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
+
# Install Docker in the container (to use Docker CLI if needed)
|
20 |
+
RUN apt-get update && \
|
21 |
+
apt-get install -y docker.io
|
|
|
|
|
|
|
22 |
|
23 |
# Copy the existing standalone_embed.sh script into the container
|
24 |
COPY standalone_embed.sh /standalone_embed.sh
|