Skip to content

Commit

Permalink
basic dockeer template added to make the application workable on prod…
Browse files Browse the repository at this point in the history
…uction
  • Loading branch information
0nahid committed Feb 2, 2024
1 parent 044d539 commit 0b285e6
Show file tree
Hide file tree
Showing 68 changed files with 7 additions and 4,763 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
logs
yarn-error.log
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use a Node.js image
FROM node:18.18.0
FROM node:18.18.0-alpine

# Set the working directory
WORKDIR /app
Expand All @@ -10,6 +10,9 @@ COPY . .
# Install dependencies
RUN yarn install

# Build the application
RUN yarn build

# Expose the port if required
EXPOSE 5000

Expand Down
66 changes: 0 additions & 66 deletions dist/app.js

This file was deleted.

33 changes: 0 additions & 33 deletions dist/app/modules/Common/Common.controller.js

This file was deleted.

12 changes: 0 additions & 12 deletions dist/app/modules/Common/Common.routes.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/app/modules/Common/Common.service.js

This file was deleted.

2 changes: 0 additions & 2 deletions dist/app/modules/History/History.interface.js

This file was deleted.

37 changes: 0 additions & 37 deletions dist/app/modules/History/History.model.js

This file was deleted.

5 changes: 0 additions & 5 deletions dist/app/modules/Organization/Organization.constant.js

This file was deleted.

158 changes: 0 additions & 158 deletions dist/app/modules/Organization/Organization.controller.js

This file was deleted.

2 changes: 0 additions & 2 deletions dist/app/modules/Organization/Organization.interface.js

This file was deleted.

Loading

0 comments on commit 0b285e6

Please sign in to comment.