✨ added embeds for posts :3
This commit is contained in:
parent
114c9f93d4
commit
12f5b1eb68
16 changed files with 523 additions and 6 deletions
29
Dockerfile
Normal file
29
Dockerfile
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
FROM node:21-alpine AS base
|
||||
|
||||
FROM base AS builder
|
||||
RUN apk add --no-cache libc6-compat
|
||||
RUN apk update
|
||||
RUN yarn set version canary
|
||||
RUN yarn config set nodeLinker node-modules
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY .gitignore .gitignore
|
||||
COPY package.json ./
|
||||
COPY yarn.lock ./
|
||||
RUN yarn install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn build
|
||||
|
||||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
|
||||
# Don't run production as root
|
||||
RUN addgroup --system --gid 1001 fixbluesky
|
||||
RUN adduser --system --uid 1001 fixbluesky
|
||||
USER fixbluesky
|
||||
COPY --from=builder /app .
|
||||
|
||||
CMD node ./dist/main.js
|
||||
Loading…
Add table
Add a link
Reference in a new issue