From ea8825126c8dcd306e87e3d1f76e93ff8e1bb633 Mon Sep 17 00:00:00 2001 From: Caspar Oostendorp Date: Sat, 25 May 2024 12:32:00 +0800 Subject: [PATCH] Prepare v0.3.3 --- Dockerfile | 6 +++++- README.md | 2 +- VERSION | 2 +- package.json | 2 +- src/QueueHandler/index.ts | 1 + 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c68ba54..9ec96ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,5 +38,9 @@ COPY . . # Your app binds to port 8080 so you'll use the EXPOSE instruction to have it mapped by the docker daemon EXPOSE 8080 +ENV ACCOUNT_ADDRESS=0x0 +ENV ACCOUNT_PK=0x0 +ENV STORAGE_DIR="/app/storage" + # Define the command to run your app using CMD which defines your runtime -CMD [ "ts-node", "src/server.ts" ] +CMD [ "ts-node", "src/index.ts" ] diff --git a/README.md b/README.md index fb370df..5c1f9dd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # server NodeExpress backend for "bots" and other optimizations -Version 0.3.2 \ No newline at end of file +Version 0.3.3 \ No newline at end of file diff --git a/VERSION b/VERSION index d15723f..1c09c74 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.2 +0.3.3 diff --git a/package.json b/package.json index 87f9082..7cfe9b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pixelaw-server", "description": "NodeExpress backend for \"bots\" and other optimizations", - "version": "0.3.2", + "version": "0.3.3", "main": "index.js", "license": "MIT", "scripts": { diff --git a/src/QueueHandler/index.ts b/src/QueueHandler/index.ts index 69ed5a7..d018cba 100644 --- a/src/QueueHandler/index.ts +++ b/src/QueueHandler/index.ts @@ -219,6 +219,7 @@ function log(message: string) { } } + process.on('message', async (message: Message) => { if (message.cmd === 'start') { running = true;