chore(dockerfile): proper repo name for subdir

This commit is contained in:
Borja Canseco
2020-06-04 21:26:02 -05:00
parent c8d2974b6d
commit 3a19016c0d

View File

@@ -4,7 +4,7 @@ FROM node:14.3.0
# When running as a GitHub Action, the WORKDIR is controlled by GitHub.
# Furthermore, they recommend NOT setting it in the Dockerfile, which makes running locally difficult.
# Thus we copy files to another directory and cd into it before running (regardless of the environment).
COPY . /contribution-graph-github-action
COPY . /github-contribution-graph-action
# Executing a shell is required for environment variable substitution when running as a GitHub Action.
ENTRYPOINT ["sh", "-c", "cd /contribution-graph-github-action && npm install --production && npm start"]
ENTRYPOINT ["sh", "-c", "cd /github-contribution-graph-action && npm install --production && npm start"]