bolt.new-any-llm/Dockerfile

17 lines
336 B
Docker
Raw Normal View History

FROM node:20.18.0
2024-10-06 14:12:49 +00:00
WORKDIR /app
# Install dependencies (this step is cached as long as the dependencies don't change)
2024-10-10 02:51:11 +00:00
COPY package.json pnpm-lock.yaml ./
RUN corepack enable pnpm && pnpm install
2024-10-06 14:12:49 +00:00
# Copy the rest of your app's source code
COPY . .
# Expose the port the app runs on
EXPOSE 5173
CMD [ "pnpm", "run", "dev", "--host" ]