8 Commits

207 changed files with 159 additions and 610 deletions

View File

@@ -1,3 +1,4 @@
build/bin
node_modules
frontend/dist
build

View File

@@ -1,20 +1,9 @@
FROM oven/bun:1.0.25-slim as builder
WORKDIR /app
# Copy package files
COPY package*.json ./
COPY bun.lockb ./
COPY dist dist
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Install dependencies
RUN bun install
# Copy source files
COPY . .
# Build the application
RUN bun run build
# Production stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf

View File

Before

Width:  |  Height:  |  Size: 211 KiB

After

Width:  |  Height:  |  Size: 211 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Some files were not shown because too many files have changed in this diff Show More