Skip to content

Commit

Permalink
Adding paths to the scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozgulbas committed Apr 9, 2024
1 parent fceba95 commit 5717349
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
FROM ghcr.io/ad-sdl/wei

LABEL org.opencontainers.image.source=https://github.com/AD-SDL/kla_module
LABEL org.opencontainers.image.description="Drivers and REST API's for the KLA devices"
LABEL org.opencontainers.image.source=https://github.com/AD-SDL/fom_module
LABEL org.opencontainers.image.description="Drivers and REST API's for the FOM devices"
LABEL org.opencontainers.image.licenses=MIT

#########################################
# Module specific logic goes below here #
#########################################

RUN mkdir -p kla_module
RUN mkdir -p fom_module

COPY ./src kla_module/src
COPY ./README.md kla_module/README.md
COPY ./pyproject.toml kla_module/pyproject.toml
COPY ./tests kla_module/tests
COPY ./src fom_module/src
COPY ./README.md fom_module/README.md
COPY ./pyproject.toml fom_module/pyproject.toml
COPY ./tests fom_module/tests

# RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y

RUN --mount=type=cache,target=/root/.cache \
pip install -e ./kla_module
pip install -e ./fom_module

CMD ["python", "kla_module/src/kla_rest_node.py"]
CMD ["python", "fom_module/src/fom_rest_node.py"]

#########################################

0 comments on commit 5717349

Please sign in to comment.