Skip to content

Commit

Permalink
Merge pull request #10 from mi3lix9/fix/docker-develop
Browse files Browse the repository at this point in the history
start without building
  • Loading branch information
mi3lix9 committed Jun 15, 2024
2 parents d317f08 + c0c6814 commit ffce660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ VOLUME ["/app/config"]
RUN bun install

# Build the application
RUN bun run push
RUN bun run build
# RUN bun run push
# RUN bun run build
# Expose port (adjust if necessary)
# EXPOSE 3000

# Start the application
CMD ["bun", "start:build"]
CMD ["bun", "start"]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dev": "bun --watch src/index.ts",
"build": "bun build src/index.ts --outdir ./out --target=bun",
"start:build": "bun run out/index.js",
"start": "NODE_ENV=production bun src/index.ts",
"generate": "bunx drizzle-kit generate",
"push": "bunx drizzle-kit push"
},
Expand Down

0 comments on commit ffce660

Please sign in to comment.