mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-28 06:42:56 +00:00
17 lines
336 B
Docker
17 lines
336 B
Docker
FROM node:20.18.0
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies (this step is cached as long as the dependencies don't change)
|
|
COPY package.json pnpm-lock.yaml ./
|
|
|
|
RUN corepack enable pnpm && pnpm install
|
|
|
|
# Copy the rest of your app's source code
|
|
COPY . .
|
|
|
|
# Expose the port the app runs on
|
|
EXPOSE 5173
|
|
|
|
CMD [ "pnpm", "run", "dev", "--host" ]
|