-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from Adidem23/main
AddedDockerFileandModifiedReadmeFileAccordingtoDocker
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters