From 00d1ca0129db6b5251c567cede25b82711204ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Fri, 4 Jan 2019 19:52:52 +0100 Subject: [PATCH] Put CMD in base section in Dockerfile This should fix our build server. Probably the container immediately exited on Travis which is using the `builder` stage for testing. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e28629294..e7cf44f50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN apk --no-cache add git COPY package.json yarn.lock ./ COPY styleguide/ ./styleguide +CMD ["yarn", "run", "start"] FROM base as builder RUN yarn install --frozen-lockfile --non-interactive @@ -32,4 +33,3 @@ COPY --from=builder /nitro-web/.nuxt/ ./.nuxt COPY --from=builder ./nitro-web/static ./static/ EXPOSE 3000 -CMD ["yarn", "run", "start"]