aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-04-10 05:46:34 +0000
committerterminaldweller <thabogre@gmail.com>2021-04-10 05:46:34 +0000
commit849e1df9b269d8cb7e1fb918a8200f60a085318a (patch)
treebcb0ef183aabaf6228712e005459872682bcc17b /Dockerfile
parenttrying to add syntax highlighting for markdown (diff)
downloadblog-849e1df9b269d8cb7e1fb918a8200f60a085318a.tar.gz
blog-849e1df9b269d8cb7e1fb918a8200f60a085318a.zip
added a dockerfile. fixed the relative path issues
Diffstat (limited to '')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
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