diff --git a/.docker/server/Dockerfile b/.docker/server/Dockerfile index 7e3e798..1e53884 100755 --- a/.docker/server/Dockerfile +++ b/.docker/server/Dockerfile @@ -3,8 +3,9 @@ FROM --platform=linux/amd64 node:20 AS base COPY . /usr/src/app WORKDIR /usr/src/app -RUN yarn install +RUN yes | yarn bootstrap +RUN yarn build EXPOSE $SERVER_PORT FROM base AS dev @@ -12,5 +13,4 @@ CMD [ "npm", "run", "dev" ] # CMD /bin/bash -c "tail -f /dev/null" FROM base AS prod -RUN yarn build -CMD [ "npm", "run", "preview" ] \ No newline at end of file +CMD [ "npm", "run", "preview" ]