mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-10-29 23:35:02 -04:00
moving on
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
37c610d51d
commit
dec288d3c4
@ -52,21 +52,18 @@ RUN apk update && \
|
|||||||
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
||||||
WORKDIR /opt/meshcentral
|
WORKDIR /opt/meshcentral
|
||||||
|
|
||||||
RUN cat meshcentral/package.json
|
RUN jq '.dependencies += {"modern-syslog": "1.2.0", "telegram": "2.26.22"}' meshcentral/package.json > temp.json && mv temp.json meshcentral/package.json \
|
||||||
|
|
||||||
RUN jq '.dependencies += {"modern-syslog": "1.2.0", "telegram": "2.26.22"}' meshcentral/package.json > temp.json && mv temp.json meshcentral/package.json
|
|
||||||
# && npm i --package-lock-only \
|
# && npm i --package-lock-only \
|
||||||
# && npm ci
|
&& npm ci
|
||||||
|
|
||||||
RUN cat meshcentral/package.json
|
### STAGE 3 RUNTIME
|
||||||
|
|
||||||
# ### STAGE 3 RUNTIME
|
FROM alpine:3.22 AS runtime
|
||||||
|
|
||||||
# FROM alpine:3.22 AS runtime
|
|
||||||
|
|
||||||
# # Copy prepared app from builder stage
|
# # Copy prepared app from builder stage
|
||||||
# COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
COPY --from=dep-compiler /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
|
||||||
# COPY --from=dep-compiler /opt/meshcentral/node_modules /opt/meshcentral/meshcentral/node_modules
|
|
||||||
|
RUN cat /opt/meshcentral/meshcentral/package.json
|
||||||
|
|
||||||
# # environment variables
|
# # environment variables
|
||||||
# ENV NODE_ENV="production" \
|
# ENV NODE_ENV="production" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user