fix: missing directory
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 11m1s
Some checks failed
Build and Push Docker Image to Gitea Registry / build-and-push (push) Failing after 11m1s
This commit is contained in:
parent
2717eb9915
commit
93608e21d1
@ -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
1
public/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
# This file ensures the public directory is tracked by Git
|
Loading…
x
Reference in New Issue
Block a user