Skip to content

Front-end: Added Dockerfile for application deployment #8

Open
DeekshithSN wants to merge 2 commits intoinputTestfrom
feature/Dockerfile
Open

Front-end: Added Dockerfile for application deployment #8
DeekshithSN wants to merge 2 commits intoinputTestfrom
feature/Dockerfile

Conversation

@DeekshithSN
Copy link
Owner

  • Created & Added Dockerfile which helps in deploying application

Issue Id: AP-1

@@ -0,0 +1,11 @@
FROM node:latest
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest tag is not best practice to use, we require node 17. So we can go for node:17.9.0-slim

@@ -0,0 +1,11 @@
FROM node:latest
WORKDIR /app
RUN useradd admin
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use user name same as application name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant