mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update paths build
This commit is contained in:
parent
8484649071
commit
edf1fdedf0
@ -20,7 +20,7 @@ RUN pnpm --filter=./apps/api run build
|
|||||||
|
|
||||||
RUN pnpm --filter=./apps/api --prod deploy /prod/api
|
RUN pnpm --filter=./apps/api --prod deploy /prod/api
|
||||||
|
|
||||||
RUN cp -R /usr/src/app/apps/api/.dist /prod/api/.dist
|
RUN cp -R /usr/src/app/apps/api/dist /prod/api/dist
|
||||||
|
|
||||||
FROM base AS dokploy
|
FROM base AS dokploy
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -29,7 +29,7 @@ WORKDIR /app
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Copy only the necessary files
|
# Copy only the necessary files
|
||||||
COPY --from=build /prod/api/.dist ./.dist
|
COPY --from=build /prod/api/dist ./dist
|
||||||
COPY --from=build /prod/api/package.json ./package.json
|
COPY --from=build /prod/api/package.json ./package.json
|
||||||
COPY --from=build /prod/api/node_modules ./node_modules
|
COPY --from=build /prod/api/node_modules ./node_modules
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user