diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-05 15:49:16 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-05 15:49:16 +0000 |
commit | 4eaa437c0a285c617e30a533d1ef369eaa8644a6 (patch) | |
tree | dfc5d498039284e4ea30880b08197e5f24b3a2c6 /Dockerfile | |
parent | was using node image for self-signed certificates (diff) | |
download | blog-4eaa437c0a285c617e30a533d1ef369eaa8644a6.tar.gz blog-4eaa437c0a285c617e30a533d1ef369eaa8644a6.zip |
WIP, adding rss to the blog
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |