Skip to content

Commit

Permalink
chore: Update Dockerfile to add entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 19, 2024
1 parent f58e0c6 commit 37929ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/react/18.2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN cd /home/sealos/project && \
npm install && \
npm run build

RUN mkdir /home/sealos/.sealos
RUN mkdir /home/sealos/.sealos
3 changes: 3 additions & 0 deletions Framework/react/18.2.0/project/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd /home/sealos/project
npm run start

0 comments on commit 37929ab

Please sign in to comment.