Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -4,6 +4,12 @@ FROM python:3.11-slim
|
|
4 |
# Set the working directory inside the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Copy all files to the container
|
8 |
COPY . /app
|
9 |
|
|
|
4 |
# Set the working directory inside the container
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
# Install git and clean up to keep the image small
|
8 |
+
RUN apt-get update && \
|
9 |
+
apt-get install -y git && \
|
10 |
+
apt-get clean && \
|
11 |
+
rm -rf /var/lib/apt/lists/*
|
12 |
+
|
13 |
# Copy all files to the container
|
14 |
COPY . /app
|
15 |
|