4 Commits

2 changed files with 9 additions and 4 deletions

View File

@@ -10,5 +10,9 @@ EXPOSE 4000/tcp
# Entry point
COPY entrypoint.sh /entrypoint.sh
COPY ./ /
RUN chmod +x /entrypoint.sh
RUN chmod +w /
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -7,10 +7,11 @@ set -x
set -e
# Change permissions
chmod -R a+w /github/workspace
chmod -R a+w ./
# Use working directory
cd /github/workspace
pwd
ls -R
# Run command
$*
jekyll build