Skip to content
Snippets Groups Projects
Select Git revision
  • 5b07228411cd1993b519680970cd227c3df0f78b
  • main default protected
  • idacs_experiments
  • postgres_idacs
  • memgraph_fabian
  • postgres_julian
  • dev_ma
  • test_results
  • FZ_changed_code
  • FZ_Memgraph
10 results

Dockerfile

Blame
  • Dockerfile 662 B
    # Use an official Python runtime as a base image
    FROM python:3
    
    # Set working directory in the container
    WORKDIR /app
    
    # install dependencies
    RUN pip install paho-mqtt 
    
    ENV DOCKERIZE_VERSION v0.6.1
    
    # Copy the Python script into the container
    COPY pub_cdm.py /app/
    
    # Set environment variable 'chunk_size' and 'number_of_insertions'
    # ENV chunk_size_insert=100
    # ENV number_of_insertions=100
    # ENV path_to_firstK='/var/lib/import/first1k.json'
    ENV path_data='C:\\Studium_MIN\\05_Masterarbeit\\thesis\\ma_code\\code\\infrastructure\\streaming\\clients\\pub\\data\\'
    ENV mos_host='mos1'
    ENV mos_port=1883
    ENV lines_per_window=1000
    
    
    
    CMD [ "python","pub_cdm.py" ]