diff --git a/packages/api/Dockerfile b/packages/api/Dockerfile index cd6d21e..e755d55 100644 --- a/packages/api/Dockerfile +++ b/packages/api/Dockerfile @@ -5,7 +5,10 @@ WORKDIR /usr/src/app COPY package.json ./ RUN yarn +RUN yarn build COPY . . -EXPOSE 9000 \ No newline at end of file +EXPOSE 9000 + +CMD [ "yarn", "start" ] \ No newline at end of file