Skip to content

Commit

Permalink
Merge branch 'main' of github.com:uc-cdis/commons-frontend-app into u…
Browse files Browse the repository at this point in the history
…c-cdis-main
  • Loading branch information
Shawn O'Connor committed Dec 20, 2024
2 parents 1cc15f4 + e6c7543 commit f81bf26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN npm ci
COPY ./src ./src
COPY ./public ./public
COPY ./config ./config
COPY ./start.sh ./
RUN npm install @swc/core @napi-rs/magic-string && \
npm run build

Expand All @@ -27,4 +28,4 @@ COPY --from=builder /gen3/.next/static ./.next/static

USER nextjs
ENV PORT=3000
CMD ["node", "server.js"]
CMD bash ./start.sh
5 changes: 5 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -e
echo "starting server"
npm run start

0 comments on commit f81bf26

Please sign in to comment.