Skip to content
Snippets Groups Projects

Uprc mdm controller

Merged Panagiotis Karamolegkos requested to merge UPRC_MDM_CONTROLLER into UPRC_V2_CONTROLLERS
15 files
+ 189
103
Compare changes
  • Side-by-side
  • Inline
Files
15
+ 12
6
@@ -5,18 +5,24 @@ FROM python:3.10
WORKDIR /app
# Get the files to be used in the container
COPY mdm-controller/mdm-controller.py .
COPY mdm-controller/mdm-crd.yaml .
COPY generation/traffic_generator.py /app
COPY generation/test_gen.py /app
COPY generation/requirements.txt /app
# COPY mdm-controller/mdm-controller.py .
# COPY mdm-controller/mdm-crd.yaml .
# COPY generation/traffic_generator.py /app
# COPY generation/test_gen.py /app
# COPY generation/requirements.txt /app
# Copy the files from the current directory to the container
COPY . .
# Upgrade pip
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port that the app runs on
EXPOSE 5000
# This will be the default value for the environment variable
ENV DATA_PATH="/app/config.json"
# ENV DATA_PATH="/app/config.json"
CMD ["python", "-u", "mdm-controller.py"]
\ No newline at end of file
Loading