Skip to content

Commit f46d89f

Browse files
author
Levi Sørum
committed
fix: remove raw .ts config copy from Dockerfile
Strapi 5 production (strapi start) loads compiled configs from dist/. Copying the raw config/ directory with .ts files caused: - 'Config file not loaded, extension must be one of .js,.json' - Database connection undefined (no config loaded)
1 parent 37f0362 commit f46d89f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ 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/config ./config
2019
COPY ./public ./public
2120
COPY favicon.png ./
2221

0 commit comments

Comments
 (0)