update dependencies

This commit is contained in:
jomo 2024-02-01 22:25:43 +01:00
parent bba004acc7
commit c155c8d098
4 changed files with 1210 additions and 618 deletions

View File

@ -1,6 +1,6 @@
FROM node:12-alpine AS builder FROM node:12-alpine AS builder
RUN apk --no-cache add git python build-base redis cairo-dev pango-dev jpeg-dev giflib-dev RUN apk --no-cache add git python3 build-base redis cairo-dev pango-dev jpeg-dev giflib-dev
RUN adduser -D app RUN adduser -D app
USER app USER app

View File

@ -39,7 +39,7 @@ Please [visit the website](https://crafatar.com) for details.
```sh ```sh
docker network create crafatar docker network create crafatar
docker run --net crafatar -d --name redis redis docker run --net crafatar -d --name redis redis
docker run --net crafatar -v crafatar-images:/crafatar/images -e REDIS_URL=redis://redis -p 3000:3000 crafatar/crafatar docker run --net crafatar -v crafatar-images:/home/app/crafatar/images -e REDIS_URL=redis://redis -p 3000:3000 crafatar/crafatar
``` ```
## Manual ## Manual

1820
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -346,7 +346,7 @@ describe("Crafatar", function() {
}, },
"cape with existing uuid": { "cape with existing uuid": {
url: "http://localhost:3000/capes/853c80ef3c3749fdaa49938b674adae6", url: "http://localhost:3000/capes/853c80ef3c3749fdaa49938b674adae6",
crc32: [985789174], crc32: [985789174, 2099310578],
}, },
"cape with non-existent uuid": { "cape with non-existent uuid": {
url: "http://localhost:3000/capes/00000000000000000000000000000000", url: "http://localhost:3000/capes/00000000000000000000000000000000",
@ -710,7 +710,7 @@ describe("Crafatar", function() {
describe("Errors", function() { describe("Errors", function() {
before(function() { before(function() {
cache.get_redis().flushall(); cache.get_redis().flushall();
}); });