ksx-snapshot-server/Earthfile

12 lines
320 B
Text
Raw Normal View History

2024-04-04 19:24:32 +02:00
VERSION 0.7
server:
FROM node:lts-hydrogen
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