Merge branch 'dev' into 'main'
Fix for docker See merge request illegitimate/illegitimate-bot!351
This commit is contained in:
@@ -12,6 +12,6 @@ RUN bun bundle
|
|||||||
FROM oven/bun
|
FROM oven/bun
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/dist /app
|
COPY --from=build /app/dist /app/dist
|
||||||
|
|
||||||
CMD ["bun", "run", "index.js"]
|
CMD ["bun", "run", "dist/index.js"]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export type LoadEventsOptions = {
|
export type LoadEventsOptions = {
|
||||||
ft: "ts" | "js"
|
ft: "ts" | "js"
|
||||||
dir: "src" | "dist" | ""
|
dir: "src" | "dist"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const client = new Client()
|
|||||||
const redis = new RedisClient(env.prod.REDISURI)
|
const redis = new RedisClient(env.prod.REDISURI)
|
||||||
|
|
||||||
const ft = process.env.BUILD !== "true" ? "ts" : "js"
|
const ft = process.env.BUILD !== "true" ? "ts" : "js"
|
||||||
const dir = process.env.DOCKER === "1" ? "" : process.env.BUILD !== "true" ? "src" : "dist"
|
const dir = process.env.BUILD !== "true" ? "src" : "dist"
|
||||||
|
|
||||||
class Illegitimate {
|
class Illegitimate {
|
||||||
async start() {
|
async start() {
|
||||||
|
|||||||
Reference in New Issue
Block a user