ame-job-manager/Dockerfile

19 lines
352 B
Text
Raw Permalink Normal View History

2026-03-31 15:29:48 -04:00
FROM node:20-alpine
# Install cifs-utils and bash for SMB mounting
RUN apk add --no-cache cifs-utils bash util-linux
2026-03-31 15:29:48 -04:00
WORKDIR /app
2026-03-31 15:29:48 -04:00
COPY package*.json ./
RUN npm install --production
2026-03-31 15:29:48 -04:00
COPY . .
COPY entrypoint.sh ./
RUN chmod +x ./entrypoint.sh
2026-03-31 15:29:48 -04:00
EXPOSE 3100
# Entrypoint script handles SMB mounting before starting Node
ENTRYPOINT ["./entrypoint.sh"]