This commit is contained in:
peaceiris 2020-06-21 12:58:55 +09:00
parent 3e33579947
commit 18c640015b
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC
2 changed files with 8 additions and 3 deletions

View File

@ -22,8 +22,13 @@
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm ci",
// "postCreateCommand": "npm ci",
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
// "remoteUser": "vscode",
// Developing inside a container on a remote Docker host
// https://code.visualstudio.com/docs/remote/containers-advanced#_developing-inside-a-container-on-a-remote-docker-host
"workspaceFolder": "/workspace",
"workspaceMount": "source=/home/iris/Documents/repos/github.com/peaceiris/actions-hugo,target=/workspace,type=volume"
}

View File

@ -23,7 +23,7 @@ RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \
make all && \
make install
WORKDIR /repo
WORKDIR /workspace
ENV RUNNER_TEMP="/tmp"
CMD [ "bash" ]