Gachamelia/Dockerfile

16 lines
216 B
Docker
Raw Normal View History

2024-11-01 14:11:45 +00:00
FROM node:20
# Create app directory
WORKDIR /app
# Install app dependencies
COPY package.json /app
COPY package-lock.json /app
RUN npm install
# Bundle app source
COPY . /app
CMD [ "npm", "run", "start:clean" ]