Commit afb4dc26 authored by Markus Mößler's avatar Markus Mößler
Browse files

simplified chmod of node modules in dockerfile in react backend

parent 1e8ea3e1
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -14,9 +14,8 @@ RUN npm install
COPY . .

# Create .cache directory and set permissions
RUN mkdir -p /app/node_modules/.cache && chmod -R 777 /app/node_modules/.cache
# Set permissions for the entire application directory
RUN chmod -R 777 /app
RUN mkdir -p /app/node_modules/.cache \
    && chmod -R 777 /app/node_modules/.cache

# Start the React development server
CMD ["npm", "start"]