-
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.
- Loading branch information
1 parent
0216f9d
commit 3dccbe1
Showing
1 changed file
with
3 additions
and
3 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,14 +1,14 @@ | ||
FROM node:20.12.2-alpine | ||
|
||
# Set working directory | ||
WORKDIR /usr/src/app | ||
WORKDIR / | ||
|
||
# Copy necessary files | ||
COPY package*.json index.mjs entrypoint.sh ./ | ||
COPY package*.json index.mjs entrypoint.sh / | ||
|
||
# Install pnpm and dependencies | ||
RUN npm install -g pnpm && pnpm install | ||
|
||
# Make entrypoint.sh executable and set as entrypoint | ||
RUN chmod +x entrypoint.sh | ||
ENTRYPOINT ["./entrypoint.sh"] | ||
ENTRYPOINT ["/entrypoint.sh"] |