Moved to _dev
This commit is contained in:
14
open-resume/Dockerfile
Normal file
14
open-resume/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM node:18-alpine as builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install --include=dev
|
||||
RUN npm run build
|
||||
|
||||
FROM node:18-alpine AS runner
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/.next/standalone .
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder /app/.next/static ./.next/static
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user