diff options
author | terminaldweller <thabogre@gmail.com> | 2021-04-10 05:46:34 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-04-10 05:46:34 +0000 |
commit | 849e1df9b269d8cb7e1fb918a8200f60a085318a (patch) | |
tree | bcb0ef183aabaf6228712e005459872682bcc17b /Dockerfile | |
parent | trying to add syntax highlighting for markdown (diff) | |
download | blog-849e1df9b269d8cb7e1fb918a8200f60a085318a.tar.gz blog-849e1df9b269d8cb7e1fb918a8200f60a085318a.zip |
added a dockerfile. fixed the relative path issues
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 9 |
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 |