mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
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.
This commit is contained in:
parent
9b3161ae15
commit
00d1ca0129
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user