mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix copy path
This commit is contained in:
parent
1a234e70f8
commit
cca09415c3
@ -18,14 +18,13 @@ 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 .. \
|
||||||
&& yarn run styleguide:build
|
&& yarn run styleguide:build
|
||||||
COPY . .
|
|
||||||
RUN yarn run build
|
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
|
RUN yarn install --frozen-lockfile --non-interactive
|
||||||
COPY --from=build-and-test ./nitro-web/.nuxt ./.nuxt
|
COPY --from=build-and-test ./nitro-web/.nuxt ./.nuxt
|
||||||
COPY --from=build-and-test ./styleguide/dist ./styleguide/dist
|
COPY --from=build-and-test ./nitro-web/styleguide/dist ./styleguide/dist
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["yarn", "run", "start"]
|
CMD ["yarn", "run", "start"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user