Skip to content

Commit dad8157

Browse files
committed
Added first working Dockerfile.
1 parent d4193da commit dad8157

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CALIB/Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)