# Scheer Enterprise Translation Tool — container image.
# No dependencies to install (server.js only uses Node's built-ins), so the
# image just needs a Node runtime plus the two app files.

FROM node:18-alpine

WORKDIR /app
COPY server.js index.html package.json ./

# DEEPL_API_KEY is passed at "docker run" time (via -e or --env-file), not
# baked into the image. domains.json should be bind-mounted so glossary
# data survives container restarts/recreation (see README).
ENV PORT=3000
EXPOSE 3000

CMD ["node", "server.js"]
