Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit f174b08

Browse files
Merge pull request #194 from strapi/chore/custom-example-prod
Make custom example use production env for build params too
2 parents 37795f1 + f8a112f commit f174b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/custom/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ RUN yarn install
99

1010
COPY . .
1111

12+
ENV NODE_ENV production
13+
1214
RUN yarn build
1315

1416
EXPOSE 1337
1517

16-
ENV NODE_ENV production
17-
1818
CMD ["yarn", "start"]

0 commit comments

Comments
 (0)