Renovate
b53acc0499
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #61 Co-authored-by: Renovate <renovate@dwysokinski.me> Co-committed-by: Renovate <renovate@dwysokinski.me>
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.7.4-alpine
|
|
|
|
COPY --from=build-deps /app/dist /var/www
|
|
COPY Caddyfile /etc/caddy/Caddyfile
|