Files
rfd-fyi/Dockerfile
dependabot[bot] d71e40bf62 Bump caddy from 2.7.3-alpine to 2.7.4-alpine (#37)
Bumps caddy from 2.7.3-alpine to 2.7.4-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-08-21 19:33:28 -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.4-alpine as runtime
WORKDIR /my-site
COPY --from=builder /app/dist ./
COPY Caddyfile /etc/caddy/Caddyfile