nyc-bookstores/Dockerfile
David Ashby 79600ebead
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update cheerio
2023-03-07 20:22:33 -05:00

13 lines
279 B
Docker

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