implement cors + add Dockerfile for frontend + compose

This commit is contained in:
Michi 2025-04-22 14:49:44 +02:00
parent 4af8161a11
commit b59a74645f
4 changed files with 74 additions and 4 deletions

12
frontend/Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:22-alpine
RUN mkdir app
WORKDIR /app/
COPY git/ .
RUN npm install
EXPOSE 8080
CMD [ "npm", "run", "dev", "--", "--host", "0.0.0.0" ]