Skip to content

Commit

Permalink
test without db stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
xamey committed Nov 18, 2024
1 parent 552deb3 commit 46ffc48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ COPY . .
# Install node modules
RUN bun install

# Run bun:migration:create if DB_CREATE is set
RUN if [ "$DB_CREATE" = "true" ]; then bun run migration:create; fi
# Run bun:migration:run if DB_RUN is set
RUN if [ "$DB_RUN" = "true" ]; then bun run migration:run; fi
# Run bun:migration:seed if DB_SEED is set
RUN if [ "$DB_SEED" = "true" ]; then bun run migration:seed; fi
# Run bun:migration:drop if DB_DROP is set
RUN if [ "$DB_DROP" = "true" ]; then bun run migration:drop; fi
# # Run bun:migration:create if DB_CREATE is set
# RUN if [ "$DB_CREATE" = "true" ]; then bun run migration:create; fi
# # Run bun:migration:run if DB_RUN is set
# RUN if [ "$DB_RUN" = "true" ]; then bun run migration:run; fi
# # Run bun:migration:seed if DB_SEED is set
# RUN if [ "$DB_SEED" = "true" ]; then bun run migration:seed; fi
# # Run bun:migration:drop if DB_DROP is set
# RUN if [ "$DB_DROP" = "true" ]; then bun run migration:drop; fi

RUN apt-get -y update; apt-get -y install curl

Expand Down

0 comments on commit 46ffc48

Please sign in to comment.