CompUGE-Bench / Dockerfile
ahmadshalloufuhh's picture
Update Dockerfile
c3ff46d verified
raw
history blame
492 Bytes
FROM node:lts
# Set the working directory
WORKDIR /usr/src/app
# Install Angular CLI globally
RUN npm install -g @angular/cli
# Copy package.json and package-lock.json first to leverage Docker cache
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose port
EXPOSE 7860
# Set entrypoint for different environments
ENTRYPOINT bash -c "ng serve --host 0.0.0.0 --port 7860 --configuration=production --disable-host-check;"