Add support for docker dev in bolt

This commit is contained in:
Rahul Bhardwaj
2024-10-06 19:42:49 +05:30
parent 6a9cb78fd6
commit 816d6d5f81
2 changed files with 30 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:20.15.1
WORKDIR /app
RUN npm install -g pnpm
# Copy the rest of your app's source code
COPY . .
# Install dependencies
RUN pnpm install
# Expose the port the app runs on
EXPOSE 5173
CMD [ "pnpm", "run", "dev" ]