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 .
|
COPY tailwind.config.js .
|
||||||
|
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
RUN yarn --no-lockfile && yarn build
|
RUN yarn --no-lockfile
|
||||||
CMD ["yarn", "start"]
|
CMD ["sh", "-c", "yarn build", ";", "yarn start"]
|
||||||
|
|
Reference in New Issue