Files
tamagotchi-service/api/Dockerfile
T
kaliouich 8919ad15ab
CI/CD Pipeline / test (push) Successful in 7s
CI/CD Pipeline / build-push-deploy (push) Successful in 22s
chore: build the API on Node 24 (Node 20 is end of life)
2026-10-26 10:55:05 +00:00

9 lines
245 B
Docker

FROM node:24-alpine
LABEL org.opencontainers.image.source="http://git.88.96.58.76.nip.io/khalil/tamagotchi-service"
WORKDIR /app
COPY package.json ./
RUN npm install --production
COPY server.js events.js ./
EXPOSE 8080
CMD ["node", "server.js"]