From bdb0762696ccf028c30b2957b93a01da7bf67571 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Thu, 10 Aug 2023 18:42:20 +0200 Subject: init commit --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..77afd65 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node:18-alpine +WORKDIR /app +COPY package.json /app +RUN npm i --only=production && npm cache clean --force +COPY . /app +CMD node index.js +EXPOSE 3000 -- cgit v1.2.3