Created the Dockerfile

This commit is contained in:
Mathias Wagner 2023-06-10 03:10:36 +02:00
parent 900cd41e46
commit 2553d5e45d

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 5287
CMD ["node", "server"]