Service-Xi commited on
Commit
2886cb8
·
verified ·
1 Parent(s): 5ef3395

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -9,10 +9,10 @@ RUN git clone https://github.com/kingdavid103/Tr4cking-p4yment.git /app
9
  # Set working directory
10
  WORKDIR /app
11
 
12
- # Create data directory with correct permissions
13
- RUN mkdir -p /app/data && \
14
- chown -R node:node /app/data && \
15
- chmod -R 755 /app/data
16
 
17
  # Install dependencies
18
  RUN npm install
 
9
  # Set working directory
10
  WORKDIR /app
11
 
12
+ # Create required directories with proper permissions
13
+ RUN mkdir -p /app/data /app/public/uploads && \
14
+ chown -R node:node /app/data /app/public/uploads && \
15
+ chmod -R 755 /app/data /app/public/uploads
16
 
17
  # Install dependencies
18
  RUN npm install