Skip to content

Commit

Permalink
Add client build step to build script (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdwiltfong authored Jan 21, 2024
1 parent 767833c commit 971ef63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ RUN apt-get update -qq && \

# Copy built application
COPY --from=build /app /app
RUN ls -la /app
# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
CMD [ "npm", "run", "start" ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
},
"scripts": {
"start": "nodemon server/dist/server.js",
"build": "tsc",
"build": "tsc && cd client && vite build",
"dev": "ts-node ./server/server.ts",
"test": "jest server/__tests__",
"db:seed": "ts-node ./server/prisma/clearAndSeedDB.ts",
Expand Down

0 comments on commit 971ef63

Please sign in to comment.