galt #1

Merged
bartha.gabor merged 19 commits from galt into main 2025-10-20 08:06:40 +02:00
Showing only changes of commit d9bbede328 - Show all commits

View File

@@ -1,6 +1,6 @@
# syntax=docker.io/docker/dockerfile:1 # syntax=docker.io/docker/dockerfile:1
FROM node:20-alpine AS base FROM node:25-alpine AS base
# 1. Install dependencies only when needed # 1. Install dependencies only when needed
FROM base AS deps FROM base AS deps
@@ -43,11 +43,8 @@ COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
USER nextjs USER nextjs
EXPOSE 3000 EXPOSE 3000
ENV PORT=3000 ENV PORT=3000
CMD HOSTNAME="0.0.0.0" node server.js CMD HOSTNAME="0.0.0.0" node server.js