260214:1707 4rd Deploy (Prepare CI/CDB)
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user