Skip to content

Commit 64c01f1

Browse files
author
Levi Sørum
committed
fix: use minimal tsconfig.json so Strapi finds dist without TS compilation
1 parent d15d0c5 commit 64c01f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY package.json package-lock.json ./
1616
RUN npm ci --omit=dev
1717

1818
COPY --from=build /app/dist ./dist
19-
COPY --from=build /app/tsconfig.json ./tsconfig.json
19+
RUN echo '{"compilerOptions":{"outDir":"dist"}}' > tsconfig.json
2020
COPY ./public ./public
2121
COPY favicon.png ./
2222

0 commit comments

Comments
 (0)