Skip to content

Commit cce5df0

Browse files
Build Before Start NPM
1 parent 00bed86 commit cce5df0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ COPY . .
1414
# 6. Expose the dev server port
1515
EXPOSE 3000
1616

17+
RUN npm run build
18+
1719
# 7. Start the Next.js development server
1820
CMD ["npm", "run", "start"]

0 commit comments

Comments
 (0)