forked from Opentek-Org/opentek
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker file is added (Opentek-Org#435)
* DOcker file is added * Readme is updated
- Loading branch information
1 parent
681bef8
commit 62765b8
Showing
2 changed files
with
29 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,15 @@ | ||
# Use a base image with the desired environment | ||
FROM nginx:latest | ||
|
||
# Set the working directory in the container | ||
WORKDIR /usr/share/nginx/html | ||
|
||
# Copy the HTML file and any other static assets to the container | ||
COPY index.html . | ||
COPY static /usr/share/nginx/html/static | ||
|
||
# Expose the desired port | ||
EXPOSE 80 | ||
|
||
# Start the nginx server when the container starts | ||
CMD ["nginx", "-g", "daemon off;"] |
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