Files
rfd-fyi/Dockerfile
dependabot[bot] 6bd56a1af1 Bump node from 19.9.0-alpine3.16 to 20.2.0-alpine3.16 (#29)
Bumps node from 19.9.0-alpine3.16 to 20.2.0-alpine3.16.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Gallant <davegallant@gmail.com>
2023-08-19 10:00:03 -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.3-alpine as runtime
WORKDIR /my-site
COPY --from=builder /app/dist ./
COPY Caddyfile /etc/caddy/Caddyfile