Skip to content

Commit 87f0ffc

Browse files
committed
feat: add Dockerfile
1 parent 0bb37c6 commit 87f0ffc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Use the official Node.js Alpine image as the base
2+
FROM node:alpine
3+
4+
# Set the working directory inside the container
5+
WORKDIR /app
6+
7+
# Copy the files to the container
8+
COPY . .
9+
10+
# Install dependencies
11+
RUN yarn
12+
13+
# Expose the port that the application will be running on
14+
EXPOSE 3000
15+
16+
# Start the application
17+
CMD ["yarn", "dev"]

0 commit comments

Comments
 (0)