| FROM node:21 | |
| WORKDIR /app | |
| COPY testProjectExocoreWeb-main.zip . | |
| RUN apt-get update && apt-get install -y unzip && \ | |
| unzip testProjectExocoreWeb-main.zip && \ | |
| chown -R node:node testProjectExocoreWeb-main && \ | |
| chmod -R u+rwX testProjectExocoreWeb-main | |
| USER node | |
| WORKDIR /app/testProjectExocoreWeb-main | |
| RUN npm install | |
| EXPOSE 7860 | |
| CMD ["npm", "start"] |