# NOTE: Executed locally, **AND** from the github repo
#   Run after happy build

# Image config
FROM node:18-bullseye
WORKDIR /app

# Install deps
COPY package.json .
COPY package-lock.json .
RUN npm ci

# Config
COPY identity.yaml .
COPY ./public ./public
# Source files
COPY bin ./bin

# Run
CMD ["npm", "start"]