Initial
All checks were successful
Deploy / build (push) Successful in 49s

This commit is contained in:
alsaze
2025-11-19 20:49:25 +03:00
commit 3d975d6884
36 changed files with 27229 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
RUN yarn build
FROM node:22-alpine
WORKDIR /app
COPY --from=build /app/.output/ ./
ENV PORT=80
ENV VITE_MY_API_BASE_URL=https://jsonplaceholder.typicode.com
EXPOSE 80
CMD ["node", "/app/server/index.mjs"]