We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4193da commit dad8157Copy full SHA for dad8157
CALIB/Dockerfile
@@ -0,0 +1,20 @@
1
+# Use Rocky Linux as base
2
+FROM rockylinux:9
3
+
4
+# Install Python 3.12 and dependencies
5
+RUN python3 -m ensurepip && \
6
+ python3 -m pip install --upgrade pip
7
8
+# Set the working directory inside the container
9
+WORKDIR /app
10
11
+# Copy the requirements file and install dependencies
12
+COPY requirements.txt .
13
+RUN pip install --no-cache-dir -r requirements.txt
14
15
+# Copy your script into the container
16
+COPY laser.py .
17
+COPY params.json .
18
19
+# Run the script when the container starts
20
+CMD ["python3", "laser.py"]
0 commit comments