-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
|
||
######################################### |