Docker shit

This commit is contained in:
cirroskais 2024-03-04 04:45:19 -05:00
parent 4ec01a6ab9
commit 5e90991c0f
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D
2 changed files with 21 additions and 0 deletions

7
.dockerignore Normal file
View file

@ -0,0 +1,7 @@
bin
data
node_modules
.env
.env.example
.gitignore
README.md

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM oven/bun
WORKDIR /usr/app/src
COPY package.json .
COPY bun.lockb .
RUN "bun install"
ENV CURSEFORGE_API="\$2a\$10\$bL4bIL5pUWqfcO7KQtnMReakwtfHbNKh6v1uTpKlzhwoueEJQnPnm"
EXPOSE 3000
ENTRYPOINT [ "bun", "run", "start" ]