Files
rfd-fyi/Dockerfile
dependabot[bot] efecc10e5a Bump caddy from 2.7.4-alpine to 2.7.5-alpine (#43)
Bumps caddy from 2.7.4-alpine to 2.7.5-alpine.

---
updated-dependencies:
- dependency-name: caddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 09:25:00 -04:00

21 lines
246 B
Docker

FROM node:20.2.0-alpine3.16 as builder
WORKDIR /app
COPY package*.json ./
RUN yarn install
COPY . .
RUN yarn build
FROM caddy:2.7.5-alpine as runtime
WORKDIR /my-site
COPY --from=builder /app/dist ./
COPY Caddyfile /etc/caddy/Caddyfile