👷 push on docker hub

This commit is contained in:
platane
2020-10-15 00:18:02 +02:00
committed by Platane
parent 1e1967ef61
commit 523aebc4d5
5 changed files with 44 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
FROM node:14-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends gifsicle graphicsmagick \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /github/snk
RUN npm install canvas@2.6.1
COPY dist /github/snk/
CMD ["node", "/github/snk/index.js"]