From 849e1df9b269d8cb7e1fb918a8200f60a085318a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 10 Apr 2021 10:16:34 +0430 Subject: added a dockerfile. fixed the relative path issues --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..974e6b0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM node:lts-alpine3.13 +COPY ./package.* /server/ +RUN cd /server && npm install --production +COPY ./css /server/css/ +COPY ./views /server/views/ +COPY ./mds /server/mds/ +COPY ./server.js /server/ +ENTRYPOINT ["/server/server.js"] +EXPOSE 3000 -- cgit v1.2.3