Skip to content

Commit

Permalink
fix: use WORKDIR in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed May 20, 2021
1 parent cbb4964 commit a6b1ed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ FROM node:14-alpine3.10
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

WORKDIR ${GITHUB_WORKSPACE}

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit a6b1ed2

Please sign in to comment.