13 lines
400 B
Docker
13 lines
400 B
Docker
# Frontend image for dev and prod (single image).
|
|
# Dev specifics arrive via devcontainer.json / compose env — never via this
|
|
# file. DevDeps are included: `npm run dev` must work with zero steps.
|
|
FROM node:22-slim
|
|
|
|
WORKDIR /srv/kirche-einfach/frontend
|
|
COPY package.json package-lock.json entrypoint.sh ./
|
|
RUN npm ci && chmod +x entrypoint.sh
|
|
COPY . ./
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|