Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker-builds/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG DOCKER_REGISTRY
FROM $DOCKER_REGISTRY/cljs-web3-ci:node-20.18.1 AS builder

Check warning on line 2 in docker-builds/server/Dockerfile

View workflow job for this annotation

GitHub Actions / Build images and deploy contracts (qa)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $DOCKER_REGISTRY/cljs-web3-ci:node-20.18.1 results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

ARG ETHLANCE_ENV
ARG ETHLANCE_DEPLOY_SEED
Expand Down Expand Up @@ -52,6 +52,7 @@
COPY --from=builder /build /build
# Initialize events log
RUN echo -n "{:last-processed-block 27409455}" > ethlance-events.log
RUN npx pm2 install pm2-logrotate

EXPOSE 6300
CMD ["node", "out/ethlance_server.js"]
CMD ["npx", "pm2-runtime", "out/ethlance_server.js"]
1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"jsedn": "0.4.1",
"jsonwebtoken": "8.5.1",
"pg": "8.8.0",
"pm2": "6.0.8",
"shadow-cljs": "2.28.16",
"web3": "1.7.3",
"ws": "4.0.0",
Expand Down
Loading