summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoranatawa12 <anatawa12@icloud.com>2024-02-16 16:49:12 +0900
committerGitHub <noreply@github.com>2024-02-16 16:49:12 +0900
commit40c201407d60ea8cc72fba7874dd513f2eb4720e (patch)
treebc92e4f2c090efa1415b90521fa85c4a9f560b59 /Dockerfile
parentbuild: docker buildのpnpm i実行時にNODE_ENV=productionが指定される... (diff)
downloadsharkey-40c201407d60ea8cc72fba7874dd513f2eb4720e.tar.gz
sharkey-40c201407d60ea8cc72fba7874dd513f2eb4720e.tar.bz2
sharkey-40c201407d60ea8cc72fba7874dd513f2eb4720e.zip
fix of #13330 (#13330)
* build: docker buildのpnpm i実行時にNODE_ENV=productionが指定されるようにする * build: 消す行間違ってたのを修正
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 22c203f5e5..ee3a30a3c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,7 +32,7 @@ ARG NODE_ENV=production
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
pnpm i --frozen-lockfile --aggregate-output
-ARG NODE_ENV=production
+COPY --link . ./
RUN git submodule update --init
RUN pnpm build