diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..c6ff0c6 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +README.md +LICENSE +docker-compose.yml +examples/ +node_modules +.next +.git \ No newline at end of file diff --git a/.gitignore b/.gitignore index 0f0aad8..06f9036 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,6 @@ next-env.d.ts # bun bun.lock* + +# docker +docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c3895be --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM oven/bun:latest + +WORKDIR /app + +COPY . . + +RUN bun install + +RUN bun run build + +EXPOSE 3000 + +CMD ["bun", "run", "start"] \ No newline at end of file