mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-28 04:45:36 -04:00
14 lines
No EOL
342 B
Docker
14 lines
No EOL
342 B
Docker
# Use an official Nginx image as the base image
|
|
FROM nginx:alpine
|
|
|
|
# Set the working directory to /app inside the container
|
|
WORKDIR /app
|
|
|
|
# Copy the HTML, CSS, and JS files to the Nginx default directory
|
|
COPY . /usr/share/nginx/html
|
|
|
|
# Expose port 80 for the Nginx server
|
|
EXPOSE 80
|
|
|
|
# Command to start Nginx
|
|
CMD ["nginx", "-g", "daemon off;"] |