Move to docker buildx bake for builds, build for arm64.

This commit is contained in:
Gareth Latty
2021-09-19 13:10:43 +01:00
parent 34702e3194
commit 637cebb043
4 changed files with 101 additions and 68 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
FROM node:14-alpine AS build
FROM --platform=linux/amd64 node:16-alpine AS build
WORKDIR /md
@@ -9,7 +9,7 @@ COPY ["./src", "./src"]
COPY ["./tsconfig.json", "./config.json5", "./"]
RUN ["npm", "run", "build"]
FROM node:14-alpine
FROM node:16-alpine
ARG BUILD_DATE
ARG VCS_REF