generative_front/Dockerfile
nematnejad 8b884b808e
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 2m36s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 6s
modify docker file
2026-02-22 13:26:31 +03:30

15 lines
195 B
Docker

FROM docker.ibagher.ir/node:20-bullseye-slim
WORKDIR /app
COPY yarn*.lock package*.json ./
RUN yarn install && yarn cache clean
COPY . /app
RUN yarn build
EXPOSE 3000
CMD ["yarn", "start"]