mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
update dependencies
This commit is contained in:
parent
bba004acc7
commit
c155c8d098
@ -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
|
||||||
|
|||||||
@ -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
1820
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user