diff --git a/Dockerfile b/Dockerfile index 9365759..2bac1af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM node:20-alpine as build WORKDIR /app # Copy package.json and package-lock.json (if present) to leverage Docker cache -COPY package.json yarn.lock* package-lock.json* ./ +COPY package.json package-lock.json* ./ # Install dependencies RUN npm install @@ -17,19 +17,10 @@ COPY . . RUN npm run build # Stage 2: Serve the built application with Nginx -FROM nginx:alpine +FROM nginx:latest # Copy the built Vite application from the build stage to Nginx's web root COPY --from=build /app/dist /usr/share/nginx/html -# Remove the default Nginx configuration file -RUN rm /etc/nginx/conf.d/default.conf - -# Copy a custom Nginx configuration file (see example below) -COPY nginx.conf /etc/nginx/conf.d/nginx.conf - # Expose port 80 for web traffic -EXPOSE 80 - -# Start Nginx when the container launches -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +EXPOSE 80 \ No newline at end of file diff --git a/LICENSE b/LICENSE index 61957c9..dbb3b6c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Theo Browne +Copyright (c) 2025 Joshua Higgins Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal