ksx-snapshot-server/Earthfile

13 lines
396 B
Plaintext

VERSION 0.7
server:
FROM node:lts-hydrogen
RUN apt-get update && apt-get -y install ffmpeg --no-install-recommends
RUN npm -g install pnpm
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
COPY . .
CMD ["pnpm", "start"]
SAVE IMAGE ksx-snapshot-server localhost:5000/ksx-snapshot-server
SAVE IMAGE --push albedo.lan:5000/ksx-snapshot-server