From 93608e21d16e8e11aed54db6bb91f308f5e1e1ec Mon Sep 17 00:00:00 2001 From: Damien Date: Thu, 27 Feb 2025 01:14:11 -0500 Subject: [PATCH] fix: missing directory --- Dockerfile | 6 +++--- public/.gitkeep | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 public/.gitkeep diff --git a/Dockerfile b/Dockerfile index 97561d6..840efea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN npm run build FROM node:18-alpine AS runner WORKDIR /app -ENV NODE_ENV production +ENV NODE_ENV=production # Create a non-root user to run the application RUN addgroup --system --gid 1001 nodejs @@ -37,8 +37,8 @@ USER nextjs EXPOSE 3000 # Set the environment variable for the application to listen on all interfaces -ENV PORT 3000 -ENV HOSTNAME "0.0.0.0" +ENV PORT=3000 +ENV HOSTNAME="0.0.0.0" # Start the application CMD ["node", "server.js"] \ No newline at end of file diff --git a/public/.gitkeep b/public/.gitkeep new file mode 100644 index 0000000..fe34514 --- /dev/null +++ b/public/.gitkeep @@ -0,0 +1 @@ +# This file ensures the public directory is tracked by Git \ No newline at end of file