Use manually specified --prefix
This commit is contained in:
parent
c329c34ca9
commit
10da614d49
@ -1,7 +1,8 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
MAINTAINER Pinecrypt Labs <info@pinecrypt.com>
|
MAINTAINER Pinecrypt Labs <info@pinecrypt.com>
|
||||||
RUN apk add --update npm nginx rsync bash
|
RUN apk add --update npm nginx rsync bash
|
||||||
RUN npm install --silent --no-optional -g nunjucks@2.5.2 nunjucks-date@1.2.0 node-forge bootstrap@4.0.0-alpha.6 jquery timeago tether font-awesome qrcode-svg xterm
|
RUN npm install --prefix /usr/local --silent --no-optional -g nunjucks@2.5.2 nunjucks-date@1.2.0 node-forge bootstrap@4.0.0-alpha.6 jquery timeago tether font-awesome qrcode-svg xterm
|
||||||
|
RUN test -e /usr/local/lib/node_modules/jquery/dist/jquery.min.js
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
EXPOSE 80 443 8443
|
EXPOSE 80 443 8443
|
||||||
WORKDIR /var/lib/nginx/html/
|
WORKDIR /var/lib/nginx/html/
|
||||||
|
Loading…
Reference in New Issue
Block a user