Reaperxxxx commited on
Commit
7098d62
·
verified ·
1 Parent(s): 584ba15

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+
3
+ # Create app directory
4
+ WORKDIR /app
5
+
6
+ # Copy application files
7
+ COPY . .
8
+
9
+ # Install dependencies
10
+ RUN yarn install
11
+
12
+ # Set permissions
13
+ RUN chmod +x start.sh
14
+
15
+ # Expose port
16
+ EXPOSE 3000
17
+
18
+ # Run start script
19
+ CMD ["sh", "./start.sh"]