mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-04-06 01:25:38 +00:00
Revert to passing build
This commit is contained in:
parent
19a298d7f6
commit
b17107438c
@ -14,6 +14,7 @@ RUN apk --no-cache add git
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
FROM base as build-and-test
|
FROM base as build-and-test
|
||||||
|
ENV NODE_ENV=test
|
||||||
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
RUN yarn install --production=false --frozen-lockfile --non-interactive
|
||||||
RUN cd styleguide && yarn install --production=false --frozen-lockfile --non-interactive \
|
RUN cd styleguide && yarn install --production=false --frozen-lockfile --non-interactive \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
@ -23,10 +24,9 @@ RUN yarn run build
|
|||||||
|
|
||||||
FROM base as production
|
FROM base as production
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
RUN yarn install --frozen-lockfile --non-interactive
|
COPY --from=build-and-test ./nitro-web/node_modules ./node_modules
|
||||||
COPY --from=build-and-test ./nitro-web/.nuxt ./.nuxt
|
|
||||||
COPY --from=build-and-test ./nitro-web/styleguide/dist ./styleguide/dist
|
|
||||||
COPY --from=build-and-test ./nitro-web/plugins ./plugins
|
COPY --from=build-and-test ./nitro-web/plugins ./plugins
|
||||||
|
COPY --from=build-and-test ./nitro-web/.nuxt ./.nuxt
|
||||||
COPY --from=build-and-test ./nitro-web/static ./static
|
COPY --from=build-and-test ./nitro-web/static ./static
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user