fixed some bugs

This commit is contained in:
Eljakim Herrewijnen 2024-03-07 23:11:31 +01:00
parent c6539f8232
commit f3c9ada87b
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ WORKDIR /app
ADD . /app ADD . /app
# Install any needed packages specified in requirements.txt # 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 # Make port 80 available to the world outside this container
EXPOSE 80 EXPOSE 80

View File

@ -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: 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 ```bash
docker build -t your-image-name . sudo docker build -t bible-stories .
``` ```
## Deploy ## Deploy
```bash ```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. This will start the Docker container and map port 80 in the container to port 4000 on your host machine.