Docker: Add imagemagick dependency
This commit is contained in:
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
FROM node:16.9.0-alpine
|
||||||
|
RUN apk add --no-cache imagemagick
|
||||||
@@ -2,7 +2,7 @@ version: "3.7"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
bot:
|
bot:
|
||||||
image: node:16.9.0-alpine
|
build: .
|
||||||
command: sh -c "npm config set cache /app/.npm_cache --global && npm install && node ."
|
command: sh -c "npm config set cache /app/.npm_cache --global && npm install && node ."
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user