# This is our base image
FROM node:20-alpine
WORKDIR /app

# We copy all of the needed local files into the docker container and run commands to install dependencies and build
COPY package*.json ./
RUN npm install

# The following will run 'node index.js' on the console
ENTRYPOINT [ "npm", "run", "start" ]
