Skip to content

Commit

Permalink
Pin the http-server version at 13.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
HighSaltLevels committed Aug 22, 2023
1 parent 00d982d commit 9e09cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM node:17-alpine3.12

WORKDIR /landing-page

RUN npm install http-server -g
RUN npm install http-server@13.0.2 -g

COPY assets /landing-page/assets
COPY images /landing-page/images
COPY health favicon.ico index.html 404.html /landing-page/

CMD npx http-server --cors --tls --cert /opt/tls/tls.crt --key /opt/tls/tls.key
CMD npx http-server --cors --ssl --cert /opt/tls/tls.crt --key /opt/tls/tls.key

0 comments on commit 9e09cc2

Please sign in to comment.