diff options
Diffstat (limited to 'vnext/server/Dockerfile')
-rw-r--r-- | vnext/server/Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vnext/server/Dockerfile b/vnext/server/Dockerfile new file mode 100644 index 00000000..37f8c896 --- /dev/null +++ b/vnext/server/Dockerfile @@ -0,0 +1,18 @@ +FROM node:20.17.0-bookworm-slim + +# Install app dependencies +COPY package.json . +COPY package-lock.json . +RUN npm install + +# Bundle APP files +COPY public/server.js . + +ENV NODE_ENV production +ENV NPM_CONFIG_LOGLEVEL warn +ENV DEBUG http + +# Expose the listening port of your app +EXPOSE 8081 + +CMD [ "node", "server.js" ] |