feat: add script to run docker with volume mounts

This commit is contained in:
2025-06-04 16:11:19 +09:00
parent 3bb26f210a
commit 2cdca4d02d
2 changed files with 14 additions and 1 deletions

View File

@ -4,6 +4,9 @@ FROM oven/bun:latest
# Set the working directory
WORKDIR /app
# Create a volume for the working directory
VOLUME /app
# Copy project files
COPY . .
@ -14,4 +17,4 @@ RUN bun install
EXPOSE 3000
# Command to run the application
CMD ["bun", "run", "server.ts"]
CMD ["bun", "run", "/app/server.ts"]