kit.program/buildenv/Dockerfile
2024-02-27 16:54:41 +08:00

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