build: add frontend to docker

This commit is contained in:
2026-03-03 15:29:21 +00:00
parent c1a0324a03
commit 090a57f4dd
2 changed files with 25 additions and 0 deletions

13
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install
# Copy rest of the app
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]