Created the Dockerfile

This commit is contained in:
Mathias Wagner 2023-06-01 18:07:14 +02:00
parent 8b38dad11c
commit 88dd542d13
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM node:18-alpine
WORKDIR /app
COPY --chown=node:node ./server ./server
COPY --chown=node:node ./package.json ./package.json
RUN npm install
RUN chown -R node:node /app
USER node
EXPOSE 7182
CMD ["node", "server"]