stashing code
This commit is contained in:
18
dockerfiles/migrator.Dockerfile
Normal file
18
dockerfiles/migrator.Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM node:22.11.0 AS base
|
||||
|
||||
RUN npm i -g bun
|
||||
|
||||
FROM base AS primary
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bun.lockb turbo.json ./
|
||||
|
||||
COPY packages/db packages/db
|
||||
COPY packages/airportsdb packages/airportsdb
|
||||
|
||||
RUN bun install
|
||||
|
||||
COPY scripts scripts
|
||||
|
||||
CMD ["/bin/sh", "/app/scripts/migrate.sh"]
|
||||
Reference in New Issue
Block a user