15 lines
235 B
Docker
15 lines
235 B
Docker
|
FROM node:latest
|
||
|
LABEL authors="hq@gpio.me"
|
||
|
|
||
|
|
||
|
WORKDIR /app
|
||
|
ADD index.js /app
|
||
|
|
||
|
RUN npm config set registry http://registry.npmmirror.com
|
||
|
RUN npm i pkg -g
|
||
|
RUN pkg -t node14-alpine-arm64 index.js
|
||
|
RUN pkg -t node14-linux-arm64 index.js
|
||
|
|
||
|
|
||
|
|