mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat: monorepo
This commit is contained in:
parent
fe39077849
commit
a1474ca49e
144 changed files with 43821 additions and 1 deletions
25
surfsense_web/Dockerfile
Normal file
25
surfsense_web/Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install pnpm
|
||||
RUN npm install -g pnpm
|
||||
|
||||
# Copy package files
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Build app for production
|
||||
# For development, we'll mount the source code as a volume
|
||||
# so the build step will be skipped in development mode
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
# Start Next.js in development mode by default
|
||||
# This will be faster for development since we're mounting the code as a volume
|
||||
CMD ["pnpm", "dev"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue