mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 20:30:58 -05:00
Switch to Alpine image
This commit is contained in:
parent
17c7f45c61
commit
57122ae9db
11
.vscode/launch.json
vendored
Normal file
11
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"name": "Debug Node.js remotely",
|
||||
"port": 9229
|
||||
}
|
||||
]
|
||||
}
|
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@ -6,7 +6,7 @@
|
||||
"script": "dev",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: yarn dev",
|
||||
"detail": "yarn tsc && yarn node . src/DB-Beta.config.json"
|
||||
"detail": "yarn tsc && yarn node . src/DB-Beta.config.json daggerbotbeta true"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
FROM node:21.7.1-bookworm-slim
|
||||
FROM node:21.7.1-alpine3.19
|
||||
ENV YARN_VERSION 4.1.1
|
||||
ENV TZ Australia/Sydney
|
||||
RUN yarn policies set-version $YARN_VERSION
|
||||
RUN apt update -y && apt upgrade -y && apt install -y git fontconfig && npm install -g typescript
|
||||
RUN apk update && apk upgrade && apk add --no-cache git fontconfig && npm install -g typescript
|
||||
WORKDIR /Daggerbot
|
||||
RUN git config --global --add safe.directory /Daggerbot
|
||||
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
|
||||
|
Loading…
Reference in New Issue
Block a user