aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-05 15:49:16 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-05 15:49:16 +0000
commit4eaa437c0a285c617e30a533d1ef369eaa8644a6 (patch)
treedfc5d498039284e4ea30880b08197e5f24b3a2c6 /Dockerfile
parentwas using node image for self-signed certificates (diff)
downloadblog-4eaa437c0a285c617e30a533d1ef369eaa8644a6.tar.gz
blog-4eaa437c0a285c617e30a533d1ef369eaa8644a6.zip
WIP, adding rss to the blog
Diffstat (limited to '')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 23e5984..551946e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ RUN apk add openssl
WORKDIR /certs
RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert
-FROM node:lts-alpine3.13
+FROM node:lts-alpine3.15
COPY --from=certbuilder /certs/ /certs
COPY ./package.* /server/
RUN cd /server && npm install --production
@@ -11,6 +11,6 @@ COPY ./css /server/css/
COPY ./views /server/views/
COPY ./static /server/static/
COPY ./mds /server/mds/
-COPY ./server.js /server/
+COPY ./*.js /server/
ENTRYPOINT ["/server/server.js"]
EXPOSE 9000