nyc-bookstores/Dockerfile
David Ashby 18d7a3e7b1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
add this fancy recent changes module
2023-10-11 21:37:28 -04:00

13 lines
274 B
Docker

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