mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
implement cors + add Dockerfile for frontend + compose
This commit is contained in:
parent
4af8161a11
commit
b59a74645f
4 changed files with 74 additions and 4 deletions
12
frontend/Dockerfile
Normal file
12
frontend/Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue