File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM node:16-slim
2
-
2
+ LABEL description= "Triple Pattern Fragment Server."
3
3
# Install location
4
4
ENV dir /var/www/@ldf/server
5
5
@@ -16,16 +16,18 @@ RUN npm config set @ldf:registry $NPM_REGISTRY
16
16
# Install the node module
17
17
RUN apt-get update && \
18
18
apt-get install -y g++ make python && \
19
- cd ${dir} && npm install --only=production && \
20
- apt-get remove -y g++ make python && apt-get autoremove -y && \
19
+ cd ${dir}
20
+
21
+ WORKDIR ${dir}
22
+ RUN npm install --only=production
23
+ RUN apt-get remove -y g++ make python && apt-get autoremove -y && \
21
24
rm -rf /var/cache/apt/archives
22
25
23
26
# Expose the default port
24
27
EXPOSE 3000
25
28
26
29
# Run base binary
27
- WORKDIR ${dir}
28
30
ENTRYPOINT ["node" , "bin/ldf-server" ]
29
31
30
32
# Default command
31
- CMD ["--help" ]
33
+ CMD ["--help" ]
You can’t perform that action at this time.
0 commit comments