mirror of
https://github.com/ivan-usov-org/bec.git
synced 2025-04-22 02:20:02 +02:00
19 lines
522 B
Docker
19 lines
522 B
Docker
# set base image (host OS)
|
|
FROM morgana-harbor.psi.ch/bec/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/ci/test_config.yaml"]
|