renovate
1d8480d90e
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #24 Co-authored-by: renovate <renovate@noreply.localhost> Co-committed-by: renovate <renovate@noreply.localhost>
15 lines
245 B
Docker
15 lines
245 B
Docker
FROM node:16.20-alpine as build-deps
|
|
|
|
WORKDIR /app
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn
|
|
|
|
COPY . ./
|
|
ENV NODE_ENV=production
|
|
RUN yarn build
|
|
|
|
FROM caddy:2.6.4-alpine
|
|
|
|
COPY --from=build-deps /app/dist /var/www
|
|
COPY Caddyfile /etc/caddy/Caddyfile
|