fixed some bugs
This commit is contained in:
parent
c6539f8232
commit
f3c9ada87b
@ -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
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user