diff --git a/Dockerfile b/Dockerfile index 06875b5..8cc3ca5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] diff --git a/package.json b/package.json index 6d5f81e..b6c96f7 100644 --- a/package.json +++ b/package.json @@ -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",