Skip to content

Commit

Permalink
Build on container start
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Sep 28, 2023
1 parent 22d4373 commit 32d5159
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ COPY . ./

RUN yarn cache clean
RUN yarn add
RUN yarn run bundle

CMD ["yarn", "run", "server"]
CMD ["sh", "server/server.sh"]
2 changes: 2 additions & 0 deletions server/server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarn run bundle
yarn run server

0 comments on commit 32d5159

Please sign in to comment.