-
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.
Showing
7 changed files
with
298 additions
and
377 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
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
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,31 +1,14 @@ | ||
FROM node:20 | ||
|
||
# Install pnpm globally | ||
RUN npm i -g [email protected] | ||
|
||
WORKDIR /app | ||
|
||
# Copy only package files to install dependencies | ||
COPY package*.json ./ | ||
|
||
# Install dependencies using pnpm | ||
RUN pnpm i | ||
|
||
# Copy the source code to the container | ||
COPY . . | ||
|
||
# Build the project, ensuring it compiles to the dist directory | ||
RUN pnpm run build || exit 1 | ||
|
||
# Check if dist/index.js exists and list files in the dist directory | ||
RUN ls -al dist || echo "dist/ directory not found" | ||
|
||
# Start the application with a relative path | ||
ENTRYPOINT ["node", "dist/index.js"] | ||
|
||
# Labels | ||
LABEL \ | ||
"name"="Auto Issue Action" \ | ||
"name"="Auto Issue" \ | ||
"homepage"="https://github.com/marketplace/actions/auto-issue" \ | ||
"repository"="https://github.com/offensive-vk/auto-issue" \ | ||
"maintainer"="TheHamsterBot <[email protected]>" | ||
"maintainer"="TheHamsterBot <[email protected]>" |
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
Oops, something went wrong.