Remove markets
This commit is contained in:
+1
-15
@@ -17,7 +17,7 @@ ENV VITE_WIKIDECK_NETWORK=$WIKIDECK_NETWORK
|
||||
RUN npm run build
|
||||
|
||||
FROM build AS test
|
||||
RUN apk add --no-cache libstdc++ postgresql-client openssl
|
||||
RUN apk add --no-cache libstdc++
|
||||
COPY --from=randomx-build /native/build/wikideck-randomx /app/native/wikideck-randomx
|
||||
ENV RANDOMX_BINARY=/app/native/wikideck-randomx
|
||||
CMD ["npm", "test"]
|
||||
@@ -42,13 +42,6 @@ COPY server ./server
|
||||
COPY shared ./shared
|
||||
COPY scripts/node-backup.ts ./scripts/node-backup.ts
|
||||
COPY scripts/ops-check.ts ./scripts/ops-check.ts
|
||||
COPY scripts/custody-db.ts ./scripts/custody-db.ts
|
||||
COPY scripts/monero-observer-worker.ts ./scripts/monero-observer-worker.ts
|
||||
COPY scripts/custody-deployment-init.ts ./scripts/custody-deployment-init.ts
|
||||
COPY scripts/custody-deployment-check.ts ./scripts/custody-deployment-check.ts
|
||||
COPY scripts/monero-daemon-check.ts ./scripts/monero-daemon-check.ts
|
||||
COPY scripts/pilot-monero-deposit-address.ts ./scripts/pilot-monero-deposit-address.ts
|
||||
COPY scripts/pilot-monero-observe-once.ts ./scripts/pilot-monero-observe-once.ts
|
||||
COPY --from=randomx-build /native/build/wikideck-randomx ./native/wikideck-randomx
|
||||
RUN mkdir -p /app/data && chown node:node /app/data
|
||||
USER node
|
||||
@@ -58,10 +51,3 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \
|
||||
# Node 24 strips the server's erasable TypeScript; no tsx/dev dependencies at runtime.
|
||||
CMD ["node", "--experimental-strip-types", "server/index.ts"]
|
||||
|
||||
# Explicit one-shot maintenance image, derived from runtime so it has no development dependencies.
|
||||
FROM runtime AS custody-backup
|
||||
USER root
|
||||
RUN apk add --no-cache postgresql-client
|
||||
COPY scripts/custody-pair-backup.ts ./scripts/custody-pair-backup.ts
|
||||
USER node
|
||||
ENTRYPOINT ["node", "--experimental-strip-types", "scripts/custody-pair-backup.ts"]
|
||||
|
||||
Reference in New Issue
Block a user