From 18c640015beb975f00071e55a519bbd406413da6 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 21 Jun 2020 12:58:55 +0900 Subject: [PATCH] fix --- .devcontainer/devcontainer.json | 9 +++++++-- Dockerfile | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3b1cca8..2fe4bd8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" } diff --git a/Dockerfile b/Dockerfile index 3717109..7396f5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]