19 lines
438 B
Plaintext
19 lines
438 B
Plaintext
|
VERSION 0.7
|
||
|
FROM node:lts-alpine3.18
|
||
|
WORKDIR /build
|
||
|
|
||
|
docker-multi:
|
||
|
BUILD --platform linux/amd64 --platform linux/arm64 +docker
|
||
|
|
||
|
docker:
|
||
|
COPY package.json tsconfig.json .
|
||
|
COPY src ./src
|
||
|
COPY public ./public
|
||
|
RUN yarn install
|
||
|
RUN yarn build
|
||
|
WORKDIR /build
|
||
|
ENTRYPOINT ["node", "lib/index.js"]
|
||
|
ARG EARTHLY_TARGET_TAG
|
||
|
ARG TAG=$EARTHLY_TARGET_TAG
|
||
|
SAVE IMAGE --push docker.hibas123.de/screenshare:$TAG
|