mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Merge branch from Novdec
This commit is contained in:
parent
9d2d08105c
commit
ebca16e5a5
16
.dockerignore
Normal file
16
.dockerignore
Normal file
@ -0,0 +1,16 @@
|
||||
# Pointless stuff
|
||||
Dockerfile
|
||||
docker-compose.yml
|
||||
.ncurc.json
|
||||
.env
|
||||
.mailmap
|
||||
.github
|
||||
.vscode
|
||||
.github
|
||||
postgres-replica-stuff
|
||||
README.md
|
||||
ufwReject.sh
|
||||
|
||||
# Startup files
|
||||
startWithYarn.cjs
|
||||
botStartup.bat
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM node:21.1.0-bookworm-slim
|
||||
ENV YARN_VERSION 4.0.2
|
||||
RUN yarn policies set-version $YARN_VERSION
|
||||
RUN apt update -y && apt upgrade -y && apt install -y git
|
||||
RUN npm install -g typescript
|
||||
WORKDIR /Daggerbot
|
||||
RUN git config --global --add safe.directory /Daggerbot
|
||||
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
|
||||
RUN yarn workspaces focus
|
||||
|
||||
CMD [ "yarn", "node", "." ]
|
@ -1,4 +1,12 @@
|
||||
services:
|
||||
bot:
|
||||
container_name: daggerbot-prod
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./.git:/Daggerbot/.git:rw
|
||||
- ./src/:/Daggerbot/src/:rw
|
||||
- ./dist/:/Daggerbot/dist/:rw
|
||||
cache:
|
||||
container_name: redis-cache
|
||||
image: redis/redis-stack-server:7.2.0-v6
|
||||
|
Loading…
Reference in New Issue
Block a user