mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-16 20:00:59 -05:00
Switch to Alpine image
This commit is contained in:
parent
d4760778e8
commit
30240806ca
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",
|
"script": "dev",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"label": "npm: yarn dev",
|
"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 YARN_VERSION 4.1.1
|
||||||
ENV TZ Australia/Sydney
|
ENV TZ Australia/Sydney
|
||||||
RUN yarn policies set-version $YARN_VERSION
|
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
|
WORKDIR /Daggerbot
|
||||||
RUN git config --global --add safe.directory /Daggerbot
|
RUN git config --global --add safe.directory /Daggerbot
|
||||||
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
|
COPY tsconfig.json package.json yarn.lock .yarnrc.yml ./
|
||||||
|
Loading…
Reference in New Issue
Block a user