feat: render route

This commit is contained in:
Artemy 2024-03-21 14:47:07 +03:00
parent 38248e46f5
commit f19f0f61ba
17 changed files with 3033 additions and 11 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:18-alpine as build
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
FROM node:18-alpine as run
WORKDIR /app
COPY --from=build /app/dist/ /app/package*.json ./
RUN npm install --omit=dev
CMD npm run start:docker
EXPOSE 8080