aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-06 13:34:45 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-06 13:34:45 +0000
commitda98e1dee68e421bdd7cfcf332c43a1f94a43a30 (patch)
tree792f70ee92e096d69d9989481a736ff3af0590c7 /Dockerfile
parentwas using node image for self-signed certificates (diff)
parentfix for atom (diff)
downloadblog-da98e1dee68e421bdd7cfcf332c43a1f94a43a30.tar.gz
blog-da98e1dee68e421bdd7cfcf332c43a1f94a43a30.zip
Merge branch 'rss'
Diffstat (limited to 'Dockerfile')
-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