kit.program/buildenv/Dockerfile

15 lines
235 B
Docker
Raw Normal View History

2024-02-27 08:54:41 +00:00
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