Added basic data
This commit is contained in:
1 parent
5faad1912d
commit
045544a1cd
22 files changed
+28289
-93
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
# Use the official nginx base image
|
||||
FROM nginx
|
||||
|
||||
# Copy the site files from the local /web folder to the container's /usr/share/nginx/html folder
|
||||
COPY ./web /usr/share/nginx/html
|
||||
|
||||
# Copy the custom nginx config file
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
# Expose port 80 for HTTP traffic
|
||||
EXPOSE 80
|
||||
# Expose port 443 for HTTPs traffic
|
||||
EXPOSE 443
|
||||
|
||||
# Start the nginx server
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in new issue
Block a user