From f3c9ada87b338973273d8fbef394e83090d7dc07 Mon Sep 17 00:00:00 2001 From: Eljakim Herrewijnen Date: Thu, 7 Mar 2024 23:11:31 +0100 Subject: [PATCH] fixed some bugs --- Dockerfile | 2 +- Readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a30429..792b0c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app ADD . /app # Install any needed packages specified in requirements.txt -RUN pip install --no-cache-dir -r requirements.txt +# RUN pip install --no-cache-dir -r requirements.txt # Make port 80 available to the world outside this container EXPOSE 80 diff --git a/Readme.md b/Readme.md index 05aaa2b..18704f7 100644 --- a/Readme.md +++ b/Readme.md @@ -11,13 +11,13 @@ You need to have Docker installed on your machine. You can download Docker [here To build the Docker image, navigate to the project root directory (where the Dockerfile is located) in your terminal and run the following command: ```bash -docker build -t your-image-name . +sudo docker build -t bible-stories . ``` ## Deploy ```bash -docker run -p 4000:80 your-image-name +sudo docker run -p 4000:80 bible-stories ``` This will start the Docker container and map port 80 in the container to port 4000 on your host machine. \ No newline at end of file