nyc-bookstores/Dockerfile
renovate ab3f639d0e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update node Docker tag to v22
2024-04-26 18:01:07 +00:00

13 lines
274 B
Docker

FROM node:22 AS builder
COPY . /src
WORKDIR /src
RUN npm install && node ./index.js
FROM caddy:2.7.6
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