Merge pull request #21 from smiggiddy/ai-fix-bad-dockerfiles

help ai fix its issues
This commit is contained in:
Smigz 2025-05-02 13:08:18 -04:00 committed by GitHub
commit 23d651a21f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 9 deletions

View file

@ -1,12 +1,6 @@
# Use an official Nginx image as the base image
FROM nginx:latest
# Remove default Nginx configuration
RUN rm /etc/nginx/conf.d/default.conf
# Copy custom Nginx configuration
COPY nginx.conf /etc/nginx/conf.d
# Set the working directory in the container
WORKDIR /usr/share/nginx/html

View file

@ -7,9 +7,6 @@ WORKDIR /app
# Copy the HTML, CSS, and JavaScript files from the current directory to /app
COPY . /app
# Copy the Nginx configuration file to /etc/nginx/conf.d/
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80 for HTTP traffic
EXPOSE 80