feat: docker images

This commit is contained in:
Nard Theo
2024-05-20 12:32:13 +02:00
parent f77e64e31a
commit 6a804ff2d5
5 changed files with 58 additions and 16 deletions

View File

@@ -1,12 +1,10 @@
FROM node:22.2.0
FROM node:20
WORKDIR /app
COPY package.json /app/package.json
# COPY package-lock.json /app/package-lock.json
RUN npm install
COPY . /app
CMD ["npm", "start"]
# Perform clean install
RUN node index.js
CMD ["node", "index.js"]