ksx-snapshot-server/Earthfile
2024-04-04 19:24:32 +02:00

12 lines
No EOL
320 B
Text

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