2024-04-12 02:23:08 +03:00
|
|
|
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ["package.json", "yarn.lock", "./"]
|
|
|
|
|
2024-04-12 02:49:27 +03:00
|
|
|
RUN yarn
|
2024-04-12 02:23:08 +03:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2024-04-12 02:49:27 +03:00
|
|
|
RUN yarn build
|
|
|
|
|
2024-04-12 02:23:08 +03:00
|
|
|
ENTRYPOINT ["yarn", "start"]
|