ai-avatar-backend / Dockerfile
vumichien's picture
Update Dockerfile
aae5d2b
raw
history blame
440 Bytes
FROM node:16
# Set the working directory inside the container
WORKDIR /usr/src/app
# Copy package.json and package-lock.json (if available) to the working directory
COPY package*.json ./
# Install application dependencies
RUN npm install && npm install -g nodemon
# Copy the rest of the application to the working directory
COPY . .
# Expose the port the app runs on
EXPOSE 5000
# Command to run the application
CMD [ "npm", "start" ]