nyc-bookstores/Dockerfile
renovate 439b1fe95e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update caddy Docker tag to v2.7.3
2023-08-14 18:00:50 +00:00

13 lines
279 B
Docker

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