Skip to content
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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

sushie1984
Copy link
Contributor

Description

Adds dockerized setup for easier development on local machine

Change(s)

  • Adds dockerized setup
  • Adds explicit ENV files

@sushie1984 sushie1984 mentioned this pull request Nov 7, 2022
4 tasks
@k3rnelpan1c-dev k3rnelpan1c-dev added the chore This PR contains repository maintanance changes label Nov 8, 2022
Copy link
Contributor

@k3rnelpan1c-dev k3rnelpan1c-dev left a 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}
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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?

Comment on lines +5 to +7
WORKDIR /home/node/

COPY package.json package-lock-json* ./
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore This PR contains repository maintanance changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants