fix: missing directory
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 11m1s

This commit is contained in:
Damien 2025-02-27 01:14:11 -05:00
parent 2717eb9915
commit 93608e21d1
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ RUN npm run build
FROM node:18-alpine AS runner FROM node:18-alpine AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV production ENV NODE_ENV=production
# Create a non-root user to run the application # Create a non-root user to run the application
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs
@ -37,8 +37,8 @@ USER nextjs
EXPOSE 3000 EXPOSE 3000
# Set the environment variable for the application to listen on all interfaces # Set the environment variable for the application to listen on all interfaces
ENV PORT 3000 ENV PORT=3000
ENV HOSTNAME "0.0.0.0" ENV HOSTNAME="0.0.0.0"
# Start the application # Start the application
CMD ["node", "server.js"] CMD ["node", "server.js"]

1
public/.gitkeep Normal file
View File

@ -0,0 +1 @@
# This file ensures the public directory is tracked by Git