cos tam dziala

This commit is contained in:
Patryk Koreń
2026-07-06 23:17:37 +02:00
parent e7ec832f5b
commit ff707dd762
26 changed files with 494 additions and 60 deletions

19
front/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM oven/bun:latest
WORKDIR /app
COPY package.json bun.lockb* ./
RUN bun install
COPY . .
ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL
RUN rm -f .env .env.*
RUN bun run build --mode production
EXPOSE 5173
CMD ["bun", "run", "preview", "--", "--host", "--port", "5173"]