260214:1707 4rd Deploy (Prepare CI/CDB)
Some checks failed
Build and Deploy / deploy (push) Has been cancelled

This commit is contained in:
admin
2026-02-14 17:07:48 +07:00
parent 4d900d0930
commit ff4033b8b6
6 changed files with 74 additions and 47 deletions

View File

@@ -65,7 +65,7 @@ RUN addgroup -g 1001 -S nextjs && \
# Copy standalone output from build
COPY --from=build --chown=nextjs:nextjs /app/frontend/.next/standalone ./
COPY --from=build --chown=nextjs:nextjs /app/frontend/.next/static ./.next/static
COPY --from=build --chown=nextjs:nextjs /app/frontend/.next/static ./frontend/.next/static
USER nextjs
@@ -74,4 +74,4 @@ EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=20s \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
CMD ["node", "server.js"]
CMD ["node", "frontend/server.js"]