Skip to content
This repository was archived by the owner on Mar 8, 2026. It is now read-only.

Commit c11ee66

Browse files
committed
Push
1 parent fbac2a4 commit c11ee66

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ COPY --chown=app:app lib/ lib/
5555

5656
VOLUME /home/app/crafatar/images
5757
ENV NODE_ENV production
58-
ENTRYPOINT ["node", "www.js"]
58+
CMD ["node", "www.js"]
5959
EXPOSE 3000

config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ var config = {
9898
redis_enabled: redisConfig.enabled,
9999
server: {
100100
// port to listen on
101-
port: envInt("PORT", 3000),
101+
port: envInt("PORT", envInt("SERVER_PORT", 3000)),
102102
// IP address to listen on
103103
bind: process.env.BIND || "0.0.0.0",
104104
// ms until connection to Mojang is dropped
@@ -115,4 +115,4 @@ var config = {
115115
},
116116
};
117117

118-
module.exports = config;
118+
module.exports = config;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "crafatar",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"private": false,
55
"scripts": {
66
"start": "node www.js",

0 commit comments

Comments
 (0)