Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
# Use the official Python 3.10 slim image as a parent image
|
2 |
-
FROM python:3.10-slim
|
|
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
@@ -10,6 +11,8 @@ RUN apt-get update && \
|
|
10 |
apt-get install -y cppcheck clang-tidy && \
|
11 |
rm -rf /var/lib/apt/lists/*
|
12 |
|
|
|
|
|
13 |
# Copy the requirements file into the container at /app
|
14 |
COPY requirements.txt .
|
15 |
|
|
|
1 |
# Use the official Python 3.10 slim image as a parent image
|
2 |
+
# FROM python:3.10-slim
|
3 |
+
FROM python:3.10.18-slim-bookworm
|
4 |
|
5 |
# Set the working directory in the container
|
6 |
WORKDIR /app
|
|
|
11 |
apt-get install -y cppcheck clang-tidy && \
|
12 |
rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
+
RUN cppcheck --version
|
15 |
+
|
16 |
# Copy the requirements file into the container at /app
|
17 |
COPY requirements.txt .
|
18 |
|