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
All checks were successful
Build & Publish / Build & Publish (push) Successful in 2m3s
This commit is contained in:
parent
62f080c739
commit
2606fdf0bb
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
FROM node:18-bookworm as builder
|
||||
FROM node:18-alpine as builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt update && apt install tzdata -y
|
||||
RUN apk add --no-cache tzdata
|
||||
COPY ./package.json .
|
||||
COPY ./yarn.lock .
|
||||
RUN yarn
|
||||
|
@ -10,7 +10,7 @@ RUN yarn
|
|||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM node:18-bookworm AS runner
|
||||
FROM node:18-alpine AS runner
|
||||
|
||||
WORKDIR /app/dist
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue