move build to cmd
This commit is contained in:
parent
3df10f4370
commit
0b70328876
|
@ -10,5 +10,5 @@ COPY postcss.config.js .
|
|||
COPY tailwind.config.js .
|
||||
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
RUN yarn --no-lockfile && yarn build
|
||||
CMD ["yarn", "start"]
|
||||
RUN yarn --no-lockfile
|
||||
CMD ["sh", "-c", "yarn build", ";", "yarn start"]
|
||||
|
|
Reference in New Issue