1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-17 01:49:19 +00:00

feat: Add Prismatic Evolutions (#637)

This commit is contained in:
2025-01-18 01:56:17 +01:00
committed by GitHub
parent 33232f1b65
commit a33629e883
184 changed files with 10120 additions and 9 deletions

View File

@ -4,28 +4,31 @@ FROM docker.io/oven/bun:1-alpine AS build
WORKDIR /usr/src/app
# Add git as it is used to fetch updated times
RUN apk add git &&\
git config --global safe.directory '*'
RUN apk add git\
&& git config --global safe.directory '*'\
&& chown -R bun:bun .
USER bun
ADD --chown=bun:bun package.json bun.lockb ./
ADD --chown=bun:bun server/package.json server/bun.lockb ./server/
# install dependencies
RUN bun install --frozen-lockfile && \
cd server && \
bun install --frozen-lockfile
cd server && \
bun install --frozen-lockfile
# Add project files
ADD --chown=bun:bun . .
# build
RUN cd server && \
bun run compile
bun run compile
# remove dev dependencies (bun do not yet support "prune")
RUN cd server && \
rm -rf node_modules && \
bun install --frozen-install --production
rm -rf node_modules && \
bun install --frozen-install --production
# go to another VM
FROM docker.io/oven/bun:1-alpine AS prod