1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

use alpine for smaller images
All checks were successful
Build & Publish / Build & Publish (push) Successful in 2m3s

This commit is contained in:
Fedor Katurov 2025-02-26 22:40:01 +07:00
parent 62f080c739
commit 2606fdf0bb

View file

@ -1,8 +1,8 @@
FROM node:18-bookworm as builder FROM node:18-alpine as builder
WORKDIR /app WORKDIR /app
RUN apt update && apt install tzdata -y RUN apk add --no-cache tzdata
COPY ./package.json . COPY ./package.json .
COPY ./yarn.lock . COPY ./yarn.lock .
RUN yarn RUN yarn
@ -10,7 +10,7 @@ RUN yarn
COPY . . COPY . .
RUN yarn build RUN yarn build
FROM node:18-bookworm AS runner FROM node:18-alpine AS runner
WORKDIR /app/dist WORKDIR /app/dist