Skip to content

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