-
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.
Upgrade packages, remove rimraf globally and update Docker nodeversion
- Loading branch information
1 parent
ee471b7
commit 22dc84a
Showing
3 changed files
with
11 additions
and
13 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,10 +1,8 @@ | ||
FROM node:20.15.0-alpine3.20 | ||
FROM node:20.14.0-alpine3.20 | ||
WORKDIR /app | ||
Run chown -R node:node /app | ||
RUN npm i --silent --ignore-scripts -g nodemon ts-node-dev rimraf | ||
COPY yarn.lock package.json . | ||
RUN yarn install --silent --frozen-lockfile --ignore-scripts | ||
RUN npm i --silent --ignore-scripts -g ts-node-dev | ||
COPY yarn.lock package.json ./ | ||
RUN yarn install --silent --ignore-scripts | ||
COPY . . | ||
EXPOSE ${DEV_PORT} | ||
USER node | ||
CMD yarn dev |
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