Skip to content

Commit

Permalink
Merge pull request #58 from Adidem23/main
Browse files Browse the repository at this point in the history
AddedDockerFileandModifiedReadmeFileAccordingtoDocker
  • Loading branch information
amrit03b authored Oct 16, 2023
2 parents 077d44f + 12f0c20 commit 712e10c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONTRIBUTING.md
LICENSE
README.md
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Use a minimal Python image as the base image
FROM python:3

# Set the working directory in the container
WORKDIR /app

# Copy your HTML, CSS, and JS files to the container
COPY . /app

# Expose port 8000 for the Python server
EXPOSE 8000

# Start a simple Python HTTP server to serve your files
CMD ["python", "-m", "http.server", "8000"]
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ git clone https://github.com/amrit03b/TravelTales.git

2. Open `index.html` in your web browser to access the home page.

3. Install Docker Desktop

4. Run the command docker run -it -p 8000:8000 traveltales

5. After this start localhost:8000 in browser , Apllication run

## Usage

1. Visit the website [TravelTales](https://amrit03b.github.io/TravelTales/) to explore travel journals written by other users.
Expand Down

0 comments on commit 712e10c

Please sign in to comment.