init. project
This commit is contained in:
21
rag-web-ui/frontend/Dockerfile.dev
Normal file
21
rag-web-ui/frontend/Dockerfile.dev
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install pnpm
|
||||
RUN npm install -g pnpm@10.28.2
|
||||
|
||||
# Copy package files
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY . .
|
||||
|
||||
# Expose the port
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the development server, attention: this is for development, not for production
|
||||
CMD ["pnpm", "dev"]
|
||||
Reference in New Issue
Block a user