-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated @micthiesen/mitools to fix issues and improve performance
- Loading branch information
1 parent
e4f059a
commit 43e2b42
Showing
4 changed files
with
8 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,14 @@ | ||
# Use a specific Node.js version as a base image | ||
FROM node:20.16.0-slim | ||
|
||
# Enable corepack | ||
RUN corepack enable | ||
|
||
# Set working directory | ||
WORKDIR /app | ||
|
||
# Copy package.json and pnpm-lock.yaml | ||
COPY package.json pnpm-lock.yaml ./ | ||
|
||
# Install pnpm and project dependencies | ||
RUN corepack prepare pnpm@latest --activate && pnpm install | ||
|
||
# Copy the rest of the application code | ||
COPY . . | ||
|
||
# Build the TypeScript code | ||
RUN pnpm run build | ||
|
||
# Expose port 3000 | ||
ENV DOCKERIZED=true | ||
EXPOSE 3000 | ||
|
||
# Command to run the application | ||
CMD ["node", "dist/index.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters