-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (18 loc) · 1001 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
# Base Python image
FROM python:3.10
# Set the working directory inside the container
WORKDIR /usr/src/app
COPY . .
RUN apt-get update && apt-get install -y wget unzip
RUN wget -O HighFinesseNetAccessAccessories.zip https://www.highfinesse-downloads.com/download/edcsc5ypvsua
RUN unzip HighFinesseNetAccessAccessories.zip
RUN dpkg -i HighFinesse\ NetAccess\ Accessories/Client_Linux/wlmData-7.264.2-x86_64.deb
RUN cp HighFinesse\ NetAccess\ Accessories/Example\ Python/DataDemo_Basic/wlmData.py ./artiq_highfinesse/
RUN cp HighFinesse\ NetAccess\ Accessories/Example\ Python/DataDemo_Basic/wlmConst.py ./artiq_highfinesse/
RUN pip install -r requirements.txt
ENV PYTHONPATH=/usr/src/app
ENV PYTHONUNBUFFERED=1
# Specify the default command to run the service
#CMD ["python", "artiq_highfinesse/aqctl_artiq_highfinesse.py", "--device_ip", "10.88.1.93"]
CMD ["python", "artiq_highfinesse/aqctl_artiq_highfinesse.py", "--simulation"]
#CMD ["pytest", "artiq_highfinesse/test_artiq_highfinesse.py"]