This commit is contained in:
丹尼尔
2026-03-12 22:10:01 +08:00
parent ad96272ab6
commit a609f81a36
5 changed files with 85 additions and 2 deletions

18
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]