mirror of
https://github.com/tonytins/tonybark.com.git
synced 2025-09-22 11:26:51 -04:00
fix: dockerfile
This commit is contained in:
parent
926305669b
commit
4051184fdb
4 changed files with 3 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:22-alpine AS base
|
||||
FROM node:23-alpine AS base
|
||||
|
||||
FROM base AS deps
|
||||
WORKDIR /app
|
||||
|
@ -14,6 +14,7 @@ RUN npm run build
|
|||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/build ./
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
ENV PORT=3000
|
||||
EXPOSE 3000
|
||||
CMD ["node", "index.js"]
|
Loading…
Add table
Add a link
Reference in a new issue