nyc-bookstores/Dockerfile
renovate 3d483653d7
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update node Docker tag to v23
2024-10-17 19:02:07 +00:00

13 lines
274 B
Docker

FROM node:23 AS builder
COPY . /src
WORKDIR /src
RUN npm install && node ./index.js
FROM caddy:2.8.4
COPY img /usr/share/caddy/img
COPY css /usr/share/caddy/css
COPY stores.json robots.txt /usr/share/caddy/
COPY --from=builder /src/index.html /usr/share/caddy/index.html