diff --git a/Dockerfile b/Dockerfile index 4be28d7..2524c5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ WORKDIR /ins-crawler-container # Copy the requirements file into the container at /app COPY requirements.txt /ins-crawler-container/ +COPY Makefile /ins-crawler-container/ # Install any dependencies RUN pip3 install --no-cache-dir -r requirements.txt @@ -17,4 +18,4 @@ RUN pip3 install --no-cache-dir -r requirements.txt COPY . /ins-crawler-container/ # Run the main.py script -CMD ["python3", "main.py"] +CMD ["python3 ", "main.py"] diff --git a/Makefile b/Makefile index e8a7e5f..2569f63 100644 --- a/Makefile +++ b/Makefile @@ -12,5 +12,7 @@ docker-up: docker-compose up local: python3 main.py ./config/logger.local.yaml ./config/application.local.yaml $(username) +prod: + python3 main.py ./config/logger.yaml ./config/application.yaml $(username) try: ./try.sh \ No newline at end of file