-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (21 loc) · 966 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:24.04
# Details about the image
LABEL org.opencontainers.image.title="Deep Learning Lab Image"
LABEL org.opencontainers.image.description="This image contains \
all the packages required for DL laboratory preinstalled."
LABEL org.opencontainers.image.source="https://github.com/kbdharun/DL-Lab"
LABEL org.opencontainers.image.authors="K.B.Dharun Krishna mail@kbdharun.dev"
LABEL org.opencontainers.image.vendor="kbdharun.dev"
LABEL org.opencontainers.image.licenses="GPL-3.0-only"
# Install Python, Pip and Git
RUN apt-get update && apt-get install -y python3 python3-pip git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Copy the requirements file into the container at /app
COPY requirements.txt /app/
# Install Python packages from the requirements file
RUN pip3 install --no-cache-dir --break-system-packages -r /app/requirements.txt
# Set the working directory
WORKDIR /app
# Command to run when the container starts
CMD ["/bin/sh"]