Added API endpoints and dockerfile

This commit is contained in:
Lukian 2025-03-24 10:17:37 +01:00
parent 924e55b4f3
commit 5ddad2ed61
31 changed files with 3885 additions and 942 deletions

12
dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:alpine AS build
WORKDIR /app
COPY front .
RUN npm install && npm run build
FROM node:alpine
WORKDIR /app
COPY back .
RUN npm install
COPY --from=build /app/dist /app/public
EXPOSE 80
CMD ["node", "index.js"]