We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ca3e2 commit 85e3eb7Copy full SHA for 85e3eb7
Dockerfile
@@ -9,9 +9,10 @@ COPY . /RackHD/on-dhcp-proxy/
9
WORKDIR /RackHD/on-dhcp-proxy
10
11
RUN mkdir -p ./node_modules \
12
+ && npm install --ignore-scripts --production \
13
+ && rm -r ./node_modules/on-core ./node_modules/di \
14
&& ln -s /RackHD/on-core ./node_modules/on-core \
- && ln -s /RackHD/on-core/node_modules/di ./node_modules/di \
- && npm install --ignore-scripts --production
15
+ && ln -s /RackHD/on-core/node_modules/di ./node_modules/di
16
17
EXPOSE 68/udp 4011
18
CMD [ "node", "/RackHD/on-dhcp-proxy/index.js" ]
0 commit comments