Compare commits
2 Commits
5fbd696ad0
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| bcc6e8652b | |||
| 77fc0ab119 |
@@ -1,5 +1,5 @@
|
|||||||
# 1) Base
|
# 1) Base
|
||||||
FROM node:18-alpine AS base
|
FROM node:22-alpine AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ RUN npm run build
|
|||||||
RUN npm prune --omit=dev
|
RUN npm prune --omit=dev
|
||||||
|
|
||||||
# 4) Runner
|
# 4) Runner
|
||||||
FROM node:18-alpine AS runner
|
FROM node:22-alpine AS runner
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
NEXT_TELEMETRY_DISABLED=1 \
|
NEXT_TELEMETRY_DISABLED=1 \
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
version: "3.8"
|
|
||||||
services:
|
services:
|
||||||
fancytext-app:
|
fancytext-app:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "3001:3000"
|
- "3010:3000"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
|
|||||||
Reference in New Issue
Block a user