# DockerfileGTFRH.backend FROM node:18-alpine WORKDIR /GTFRRH/project # Copy only package files first for caching COPY package*.json ./ # Install backend dependencies inside container RUN rm -rf node_modules package-lock.json && npm install # Copy backend source code COPY . . EXPOSE 8001 CMD ["node", "serv.js"]