move build to cmd

This commit is contained in:
Karol Wypchlo 2021-02-20 16:16:06 +01:00
parent 51d102aceb
commit 57cf0d52a5
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ COPY tailwind.config.js .
ENV NEXT_TELEMETRY_DISABLED 1 ENV NEXT_TELEMETRY_DISABLED 1
RUN yarn --no-lockfile RUN yarn --no-lockfile
CMD ["sh", "-c", "yarn build;", "yarn start"] CMD ["sh", "-c", "yarn build && yarn start"]