dockerize
This commit is contained in:
parent
0f94d1300e
commit
1d7a3ed034
3 changed files with 23 additions and 0 deletions
7
.dockerignore
Normal file
7
.dockerignore
Normal file
|
@ -0,0 +1,7 @@
|
|||
README.md
|
||||
LICENSE
|
||||
docker-compose.yml
|
||||
examples/
|
||||
node_modules
|
||||
.next
|
||||
.git
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -42,3 +42,6 @@ next-env.d.ts
|
|||
|
||||
# bun
|
||||
bun.lock*
|
||||
|
||||
# docker
|
||||
docker-compose.yml
|
||||
|
|
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM oven/bun:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bun install
|
||||
|
||||
RUN bun run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bun", "run", "start"]
|
Loading…
Add table
Add a link
Reference in a new issue