16 lines
284 B
Docker
16 lines
284 B
Docker
FROM node:20-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY package.json yarn.lock* ./
|
|
|
|
# Install dependencies
|
|
RUN yarn install
|
|
|
|
# Expose rsbuild dev server port (default 3000)
|
|
EXPOSE 3000
|
|
|
|
# The actual source code will be mounted as a volume
|
|
# CMD will be specified in docker-compose
|