My nodejs deployment is getting stuck
hemanshum
PROOP
9 months ago
My build is getting stuck here:
npm WARN deprecated eslint@7.32.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
Build timed out
------------------------------
Locally it's installed and running fine.
here is my docker file:
# Dockerfile for vbs_project_server
FROM node:16-alpine
WORKDIR /usr/src/app
# Install dependencies
COPY package*.json ./
# Install dependencies
RUN npm install --legacy-peer-deps
# Copy application code
COPY . .
# Build the application
RUN mkdir -p ./uploads
RUN rm -rf build dist
RUN npm run build
EXPOSE 3003
CMD ["node", "build/app.js"]