Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 273 B
# Choose base image (maybe use node 14 for fewer warnings??) (changed from node:16)
FROM node:14

# Create app directory
WORKDIR /usr/src/app

# Install app dependecies
COPY package*.json ./
RUN npm install

# Bundle app source
COPY . .

EXPOSE 4100
CMD [ "npm", "start" ]