[Dockerfile] Install canvas
This commit is contained in:
parent
56f5c7577e
commit
d93afb0a52
@ -3,7 +3,7 @@ FROM node:lts-alpine
|
||||
RUN apk add --no-cache make gcc g++ python cairo-dev jpeg-dev pango-dev giflib-dev
|
||||
WORKDIR /usr/src/fosscord-api
|
||||
COPY package.json .
|
||||
RUN npm rebuild bcrypt --build-from-source && npm rebuild canvas --build-from-source
|
||||
RUN npm rebuild bcrypt --build-from-source && npm install canvas --build-from-source
|
||||
RUN npm install
|
||||
COPY . .
|
||||
EXPOSE 3001
|
||||
|
Loading…
x
Reference in New Issue
Block a user