Inital Work, web server broke again, trying to get scale and rotation setup

This commit is contained in:
2025-10-17 09:08:31 +11:00
commit 443e6177ca
16 changed files with 842 additions and 0 deletions

18
frontend/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM node:20-slim
WORKDIR /app
# enable pnpm
RUN corepack enable && corepack prepare pnpm@9.12.0 --activate
# Copy only package.json first so Docker layer caches deps
COPY package.json ./
# Install without frozen lockfile (generates a lock as needed)
RUN pnpm install --no-frozen-lockfile
# Now bring in the rest of the app
COPY vite.config.ts ./
COPY src ./src
ENV VITE_API_BASE=http://localhost:8080
EXPOSE 5173
CMD ["pnpm","run","dev","--","--host","0.0.0.0"]