# Auto-generated by Shiplet
# Runtime: docker
ARG NODE_VERSION=20
FROM node:${NODE_VERSION}-bookworm-slim

ARG PACKAGE_MANAGER=npm
ARG TZ=UTC
ENV TZ=${TZ}
ENV DEBIAN_FRONTEND=noninteractive

# System deps
RUN apt-get update -y \
 && apt-get install -y --no-install-recommends \
      curl git ca-certificates tzdata postgresql-client \
 && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
 && echo "$TZ" > /etc/timezone \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

# Global dev tools
RUN npm install -g nodemon

WORKDIR /var/www/html

CMD ["node", "src/index.js"]
