Skip to content

Commit

Permalink
refactor(dockerfile-dev and package.json): 🎉 update package.json depe…
Browse files Browse the repository at this point in the history
…nds and add dockerfile-dev
  • Loading branch information
gokhangunduz committed Aug 18, 2023
1 parent 06bb405 commit 5b985c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:latest as build-stage
COPY . /app
WORKDIR /app
RUN npm install
RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build
FROM nginx:alpine as production-stage
COPY --from=build-stage /app/build /usr/share/nginx/html
EXPOSE 80
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/body-scroll-lock": "^3.1.0",
"@types/file-saver": "^2.0.5",
"@types/randomstring": "^1.1.8",
Expand Down

0 comments on commit 5b985c4

Please sign in to comment.