Simplified: remove Tailwind, standalone static HTML
Some checks failed
Deploy to Easypanel / deploy (push) Has been cancelled
Some checks failed
Deploy to Easypanel / deploy (push) Has been cancelled
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,22 +1,14 @@
|
||||
FROM node:22-alpine AS builder
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM node:22-alpine AS runner
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV PORT=8080
|
||||
ENV DIST_DIR=./dist
|
||||
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY --from=builder /app/server.js .
|
||||
|
||||
EXPOSE 8080
|
||||
EXPOSE 4321
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user