-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerizing Dev Setup #175
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not too familiar with Makefile syntax, yet looks reasonable enought
env_file: | ||
- .env.development | ||
environment: | ||
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you elaborate what this does? (not familiar with this EnvVar)
@@ -0,0 +1,2 @@ | |||
GITHUB_TOKEN=<create-your-own-token> | |||
GITHUB_REPOSITORY=sushie1984/pr-update-extended |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just making a note here so we don't forget about it
@@ -0,0 +1,23 @@ | |||
FROM alpine:3.16.2 AS base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason not to use the official Node image in alpine flavour?
WORKDIR /home/node/ | ||
|
||
COPY package.json package-lock-json* ./ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a benefit in first setting the work dir instead of directly copying in the file to the required location?
Description
Adds
dockerized
setup for easier development on local machineChange(s)