Initial commit
This commit is contained in:
20
skippy-agent/Dockerfile
Normal file
20
skippy-agent/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
RUN apk add --no-cache docker-cli docker-cli-compose
|
||||
|
||||
WORKDIR /app/skippy-agent
|
||||
|
||||
COPY skippy-agent/package.json ./package.json
|
||||
RUN npm install --omit=dev
|
||||
|
||||
COPY skippy-agent/src ./src
|
||||
COPY shared /app/shared
|
||||
|
||||
ENV DATA_DIR=/app/data
|
||||
ENV SKIPPER_URL=http://skipper-api:3000
|
||||
ENV AGENT_ID=host-1
|
||||
ENV POLL_INTERVAL_MS=5000
|
||||
ENV HEARTBEAT_INTERVAL_MS=15000
|
||||
|
||||
CMD ["npm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user