Merge pull request #47 from LucidKobold/dockerfile

dockerfile
This commit is contained in:
Lucid Kobold
2025-06-20 20:49:47 +00:00
committed by GitHub
3 changed files with 5271 additions and 3329 deletions

1
.yarnrc.yml Normal file
View File

@@ -0,0 +1 @@
nodeLinker: node-modules

View File

@@ -26,10 +26,10 @@ RUN yarn typecheck
FROM base AS runner
# Files required by npm install
COPY package*.json ./
COPY package.json yarn.lock ./
# Install only production app dependencies
#RUN yarn install
RUN yarn install --frozen-lockfile
# Bundle app source
COPY . .
@@ -38,4 +38,5 @@ USER node
# Start the app
EXPOSE 80
CMD ["node", "--import", "tsx", "./src/main.ts"]
CMD ["yarn", "start"]
# CMD ["node", "--import", "tsx", "./src/main.ts"]

8592
yarn.lock

File diff suppressed because it is too large Load Diff