bec/device_server/Dockerfile
2022-07-05 11:04:49 +00:00

19 lines
493 B
Docker

# set base image (host OS)
FROM python:3.8
# set the working directory in the container
WORKDIR /code
# copy the content of the local opaas directory to the working directory
COPY . ./bec
RUN file="$(ls /code/bec/)" && echo $file
RUN mv ./bec/ophyd_devices ./ophyd_devices
WORKDIR /code/bec/device_server
RUN file="$(ls /code/bec/device_server)" && echo $file
RUN pip install -e .
# command to run on container start
CMD [ "python", "launch.py", "--config", "/code/bec/test_config.yaml"]