fix
This commit is contained in:
parent
3e33579947
commit
18c640015b
2 changed files with 8 additions and 3 deletions
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue